Skip to content
Toolwire

OpenAI

GPT models: text, images, embeddings, moderation and batches

AI and machine learningCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Secret API key (sk-…)SecretRequired

    Where to find them

    1. At platform.openai.com/api-keys click “Create new secret key”, choose the project and the permissions: “All”, or “Restricted” with read access to “Models” (the connection test uses it) and access to whatever you plan to use.
    2. Copy the key: it is shown only once. The API is prepaid: add credit in “Settings” → “Billing”. Image models may require organization verification.

    Get credentials (opens in a new tab)

Tools (1)

  • OpenAI API requestOPENAI_SEND_REQUEST

    Authenticated call to the OpenAI API (https://api.openai.com/v1). Any endpoint of the API is allowed. Examples: POST /responses {"model": "…", "input": "…"}, POST /chat/completions {"model": "…", "messages": […]}, POST /embeddings {"model": "text-embedding-3-small", "input": ["…"]}, POST /moderations {"input": "…"}, GET /models, GET /files, GET /batches.

    Required scopes

    No scopes required

    Input

    OpenAI API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.