Skip to content
Toolwire

Anthropic

Claude models: messages, batches and token counting

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

    • API key (sk-ant-…)SecretRequired

    Where to find them

    1. At platform.claude.com/settings/keys (the Claude Console, formerly console.anthropic.com) click “Create Key”, give it a name and choose the workspace.
    2. Copy the key: it is shown only once. A credit balance is required (“Settings” → “Billing”).

    Get credentials (opens in a new tab)

Tools (1)

  • Anthropic API requestANTHROPIC_SEND_REQUEST

    Authenticated call to the Anthropic API (https://api.anthropic.com/v1). Any endpoint of the API is allowed. Examples: POST /messages {"model": "…", "max_tokens": 1024, "messages": [{"role": "user", "content": "…"}]}, POST /messages/count_tokens {model, messages}, POST /messages/batches {"requests": […]}, GET /messages/batches/{id}, GET /models.

    Required scopes

    No scopes required

    Input

    Anthropic 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.