Appearance
Anthropic
Generate text with Claude models via the Anthropic Messages API.
| Detail | Value |
|---|---|
| Category | AI |
| Base URL | https://api.anthropic.com/v1 |
| Authentication | API Key |
| Endpoints | 4 |
| Connector key | anthropic |
Using Anthropic in a workflow
- Go to Connections and click New Connection.
- Pick Anthropic from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
POST /messages | Create a message |
POST /messages/batches | Create a message batch |
GET /messages/batches/{batch_id} | Get batch status |
GET /messages/batches | List message batches |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
POST /messages
Create a message
| Detail | Value |
|---|---|
| Operation ID | ai.createMessage |
| Method | POST |
| Path | /messages |
Parameters
No parameters.
Request Body
| Field | Type |
|---|---|
model | string |
max_tokens | integer |
messages | array |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Anthropic connection from the Connection dropdown.
- In the Operation dropdown, select
ai.createMessage. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Anthropic API reference.
POST /messages/batches
Create a message batch
| Detail | Value |
|---|---|
| Operation ID | ai.createBatch |
| Method | POST |
| Path | /messages/batches |
Parameters
No parameters.
Request Body
| Field | Type |
|---|---|
requests | array |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Anthropic connection from the Connection dropdown.
- In the Operation dropdown, select
ai.createBatch. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Anthropic API reference.
GET /messages/batches/{batch_id}
Get batch status
| Detail | Value |
|---|---|
| Operation ID | ai.getBatch |
| Method | GET |
| Path | /messages/batches/{batch_id} |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
batch_id | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Anthropic connection from the Connection dropdown.
- In the Operation dropdown, select
ai.getBatch. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Anthropic API reference.
GET /messages/batches
List message batches
| Detail | Value |
|---|---|
| Operation ID | ai.listBatches |
| Method | GET |
| Path | /messages/batches |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
limit | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Anthropic connection from the Connection dropdown.
- In the Operation dropdown, select
ai.listBatches. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Anthropic API reference.