Claude website screenshot

Claude

Anthropic's Claude AI assistant API for natural language processing and conversation.

7 APIs 7 Features
Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

APIs

Claude Messages API

Primary API for sending messages to Claude and receiving responses.

Claude Message Batches API

API for asynchronously processing large volumes of message requests at reduced cost with 50 percent discount.

Claude Models API

API for listing and retrieving metadata about available Claude models including capabilities and context windows.

Claude Files API

API for uploading and managing files to reference in Claude API requests without re-uploading content each time.

Claude Admin API

API for programmatically managing organization resources including members workspaces API keys and invites.

Claude Usage and Cost API

API for tracking token consumption and costs across your organization with breakdowns by model workspace and service tier.

Claude Text Completions API

Legacy API for generating text completions - deprecated in favor of the Messages API.

Collections

Arazzo Workflows

Claude Analyze Document From URL

Count tokens for a URL-referenced document, then ask Claude a question about it.

ARAZZO

Claude Batch Process and Retrieve Results

Submit a message batch, poll until it ends, then retrieve the JSONL results.

ARAZZO

Claude Cancel and Delete Batch

Submit a batch, request cancellation, poll until it ends, then delete it.

ARAZZO

Claude Count Tokens Then Create Message

Pre-flight a prompt through token counting before sending it to the Messages API.

ARAZZO

Claude Find Latest Batch Results

List recent message batches, inspect the most recent one, and retrieve its results if it has ended.

ARAZZO

Claude Multi-Turn Conversation

Send a first user turn, then continue the conversation with a follow-up that includes the assistant's reply.

ARAZZO

Claude Select Model and Create Message

Discover an available Claude model, confirm its metadata, then generate a message with it.

ARAZZO

Claude Tool Use Round Trip

Offer the model a tool, capture its tool_use request, then return a tool_result for a final answer.

ARAZZO

Pricing Plans

Claude Plans Pricing

13 plans

PLANS

Rate Limits

Claude Rate Limits

38 limits

RATE LIMITS

FinOps

Claude Finops

FINOPS

Features

Multi-Turn Conversations

Maintain context across multiple message exchanges for natural dialogue interactions.

Tool Use

Enable Claude to call external tools and functions to perform actions and retrieve data.

Vision

Process and analyze images alongside text for multimodal understanding.

Extended Thinking

Allow Claude to reason step-by-step for complex tasks with visible thinking process.

Streaming Responses

Receive responses in real-time via server-sent events for responsive user experiences.

Message Batches

Process large volumes of requests asynchronously at 50 percent reduced cost.

Token Counting

Pre-calculate token usage for messages including tools, images, and documents.

Use Cases

AI-Powered Chat Applications

Build conversational interfaces with context-aware responses and tool integration.

Content Generation

Generate, edit, and transform text content for marketing, documentation, and creative writing.

Code Assistance

Use Claude for code generation, review, debugging, and technical documentation.

Document Analysis

Extract information, summarize, and answer questions about documents and images.

Batch Processing

Process large datasets of prompts efficiently using the Message Batches API.

Integrations

Amazon Bedrock

Access Claude models through AWS Bedrock for enterprise deployment with AWS infrastructure.

Google Cloud Vertex AI

Use Claude on Google Cloud through Vertex AI integration.

LangChain

Integrate Claude into LangChain pipelines for advanced AI application development.

MCP Protocol

Connect Claude to external data sources and tools via the Model Context Protocol.

Semantic Vocabularies

Claude Context

0 classes · 20 properties

JSON-LD

Claude Messages Context

0 classes · 0 properties

JSON-LD

API Governance Rules

Claude API Rules

7 rules · 7 errors

SPECTRAL

JSON Structure

Claude Messages Batch Request Item Structure

1 properties

JSON STRUCTURE

Claude Messages Cache Control Structure

2 properties

JSON STRUCTURE

Claude Messages Content Block Param Structure

0 properties

JSON STRUCTURE

Claude Messages Content Block Structure

0 properties

JSON STRUCTURE

Claude Messages Error Structure

2 properties

JSON STRUCTURE

Claude Messages Image Block Param Structure

2 properties

JSON STRUCTURE

Claude Messages Message Batch List Structure

4 properties

JSON STRUCTURE

Claude Messages Message Batch Structure

8 properties

JSON STRUCTURE

Claude Messages Message Param Structure

2 properties

JSON STRUCTURE

Claude Messages Message Structure

7 properties

JSON STRUCTURE

Claude Messages Metadata Structure

1 properties

JSON STRUCTURE

Claude Messages Model Info Structure

4 properties

JSON STRUCTURE

Claude Messages Model List Structure

4 properties

JSON STRUCTURE

Claude Messages Output Config Structure

2 properties

JSON STRUCTURE

Claude Messages Text Block Param Structure

2 properties

JSON STRUCTURE

Claude Messages Text Block Structure

3 properties

JSON STRUCTURE

Claude Messages Thinking Block Structure

3 properties

JSON STRUCTURE

Claude Messages Thinking Config Structure

2 properties

JSON STRUCTURE

Claude Messages Token Count Structure

1 properties

JSON STRUCTURE

Claude Messages Tool Choice Structure

3 properties

JSON STRUCTURE

Claude Messages Tool Structure

4 properties

JSON STRUCTURE

Claude Messages Tool Use Block Structure

4 properties

JSON STRUCTURE

Claude Messages Usage Structure

4 properties

JSON STRUCTURE

Claude Structure

0 properties

JSON STRUCTURE

Example Payloads

Claude Messages Tool Example

4 fields

EXAMPLE

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
LinkedIn
LinkedIn
🌐
Portal
Portal
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
💰
Pricing
Pricing
🔗
RateLimits
RateLimits
🔑
Authentication
Authentication
📄
ChangeLog
ChangeLog
🟢
StatusPage
StatusPage
📰
Blog
Blog
💬
Support
Support
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
👥
GitHubOrganization
GitHubOrganization
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
MCPServer
MCPServer

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Claude Messages API
  version: Wed May 31 2023 20:00:00 GMT-0400 (Eastern Daylight Time)
request:
  auth:
    type: apikey
    key: x-api-key
    value: '{{x-api-key}}'
    placement: header
items:
- info:
    name: Messages
    type: folder
  items:
  - info:
      name: Create a Message
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      body:
        type: json
        data: '{}'
    docs: Send a structured list of input messages with text and/or image content, and the model will generate the next message
      in the conversation. The Messages API can be used for single queries or multi-turn conversations.
  - info:
      name: Count Message Tokens
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/count_tokens
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      body:
        type: json
        data: '{}'
    docs: Count the number of tokens in a message, including tools, images, and documents, without creating it.
- info:
    name: Message Batches
    type: folder
  items:
  - info:
      name: List Message Batches
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: after_id
        value: ''
        type: query
        description: ID of the object to use as a cursor for pagination. Returns the page of results immediately after this
          object.
      - name: before_id
        value: ''
        type: query
        description: ID of the object to use as a cursor for pagination. Returns the page of results immediately before this
          object.
      - name: limit
        value: ''
        type: query
        description: Number of items to return per page.
    docs: List all message batches within a workspace.
  - info:
      name: Create a Message Batch
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/batches
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      body:
        type: json
        data: '{}'
    docs: Send a batch of message creation requests for asynchronous processing. Batches begin processing immediately and
      can take up to 24 hours to complete. Results are available at a 50 percent discount compared to standard API calls.
  - info:
      name: Retrieve a Message Batch
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: message_batch_id
        value: msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d
        type: path
        description: The unique identifier of the message batch.
    docs: Retrieve the status and details of a specific message batch.
  - info:
      name: Delete a Message Batch
      type: http
    http:
      method: DELETE
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: message_batch_id
        value: msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d
        type: path
        description: The unique identifier of the message batch.
    docs: Delete a completed message batch. The batch must have a processing_status of ended before it can be deleted.
  - info:
      name: Retrieve Message Batch Results
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id/results
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: message_batch_id
        value: msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d
        type: path
        description: The unique identifier of the message batch.
    docs: Stream the results of a completed message batch as a JSONL file. Each line contains a JSON object with a custom_id
      and result.
  - info:
      name: Cancel a Message Batch
      type: http
    http:
      method: POST
      url: https://api.anthropic.com/v1/messages/batches/:message_batch_id/cancel
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: message_batch_id
        value: msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d
        type: path
        description: The unique identifier of the message batch.
    docs: Cancel an in-progress message batch. Cancellation is asynchronous and already-processed requests cannot be undone.
- info:
    name: Models
    type: folder
  items:
  - info:
      name: List Models
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/models
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: after_id
        value: ''
        type: query
        description: ID of the object to use as a cursor for pagination. Returns the page of results immediately after this
          object.
      - name: before_id
        value: ''
        type: query
        description: ID of the object to use as a cursor for pagination. Returns the page of results immediately before this
          object.
      - name: limit
        value: ''
        type: query
        description: Number of items to return per page.
    docs: List available models. The response can be used to determine which models are available for use in the API. More
      recently released models are listed first.
  - info:
      name: Get a Model
      type: http
    http:
      method: GET
      url: https://api.anthropic.com/v1/models/:model_id
      headers:
      - name: anthropic-version
        value: '2023-06-01'
      - name: anthropic-beta
        value: ''
      params:
      - name: model_id
        value: claude-sonnet-4-6
        type: path
        description: The unique identifier of the model to retrieve.
    docs: Retrieve metadata for a specific Claude model by its ID.
bundled: true