Skip to content
Software capabilities

Development

Anthropic Claude API

Messages, token counting, tools, and model workflows.

Tasks
2
Documented methods
4
Ways in
API2SDK2
Sources
platform.claude.com

What you can do with Anthropic Claude API

  • Count Claude message input tokens

    Count the input tokens for a Messages API request before sending it. Use the token-count endpoint directly or call it through an Anthropic SDK.

    API, SDK
  • Download Anthropic Message Batch results

    After processing ends, stream the Message Batch results as JSONL. Match each line by custom_id and check result.type for succeeded, errored, canceled, or expired before reading message content.

    API, SDK