Skip to main content

Anthropic Connector

Anthropic Interact with Anthropic's Claude models

Connections

Anthropic API

Connection to Anthropic's Claude API

InputCommentsDefault
API KeyYour Anthropic API key.

Actions

Chat

Start a new conversation with Claude

InputCommentsDefault
ConnectionAnthropic API connection.
ModelThe Claude model to use.claude-3-5-sonnet-latest
MessageThe message to send in the conversation.
System PromptOptional system prompt to set the context and behavior for the chat.
Max TokensMaximum number of tokens to generate (default: 4096).4096
TemperatureRandomness of the output (0-1, default: 1).1

Count Tokens

Count the number of tokens in a message or conversation

InputCommentsDefault
ConnectionAnthropic API connection.
ModelThe Claude model to use.claude-3-5-sonnet-latest
MessageThe message to send in the conversation.

Get Model

Get details of a specific Claude model

InputCommentsDefault
ConnectionAnthropic API connection.
ModelThe Claude model to use.claude-3-5-sonnet-latest

List Models

List all available Claude models

InputCommentsDefault
ConnectionAnthropic API connection.
Fetch AllFetch all paginated results. Turning this On will ignore the Limit, After ID, and Before ID inputs.false
Before IDID of the object to use as a cursor for pagination. Returns the page of results immediately before this object.
After IDID of the object to use as a cursor for pagination. Returns the page of results immediately after this object.
LimitNumber of items to return per page. Defaults to 20. Range: 1-3.20

Raw Request

Send raw HTTP request to Anthropic

InputCommentsDefault
ConnectionAnthropic API connection.
URLInput the path only (/models), The base URL is already included (https://api.anthropic.com/v1). For example, to connect to https://api.anthropic.com/v1/models, only /models is entered in this field./models
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false