Claude API: what you can do and how to use it with AI agents
The Claude API, from Anthropic, gives programmatic access to Claude models for text and image input, long documents and tool use. Developers and product teams use it to classify, extract data, summarize and draft at scale. Access works with an API key created in your own Claude Console account, so usage and billing stay with your company.
What the Claude API offers
Messages
The main endpoint: send a conversation and get Claude's answer, with tool use, images and PDFs.
Message Batches
Process large volumes of Messages requests asynchronously at a reduced cost.
Token counting
Count the tokens of a request before sending it, to plan cost and limits.
Models
List the models available to your key and read their capabilities.
Files
Upload files once and reuse them across several requests.
Workspaces
Separate environments and spending inside the Console, with keys scoped to a workspace.
How to access the Claude API
- With your company’s credentialsAPI key from the Claude Console, sent as a Bearer token in the Authorization header (the older x-api-key header is still supported). Every request also needs the anthropic-version and content-type headers. A key not scoped to one workspace also needs the anthropic-workspace-id header. The base address is https://api.anthropic.com.
- Rate and spend limits follow the usage tier of your organization, so check them in the Console and design agents to back off when limited.
- Model output can be wrong. Keep a person approving anything that changes records, spends money or reaches customers.
- Send only data you are allowed to share, and review Anthropic's terms and your organization settings before using real customer data.
Official documentation: platform.claude.com/docs/en/api/overview
Example: list available models with the Claude API
curl https://api.anthropic.com/v1/models \
-H "anthropic-version: 2026-10-21" \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"A read-only call that confirms the key and shows the models available, most recent first. It sends the required anthropic-version header.
Source: platform.claude.com. Check the official documentation for the current version and your plan.
What an iTeam agent does with the Claude API
Classify incoming requests
The agent reads tickets, e-mails or forms, assigns a category and urgency, and routes them. Sensitive cases wait for a person to confirm.
Extract data from long documents
The agent reads contracts, reports or PDFs and fills a structured record with the clauses, dates and amounts you define. A person approves before it is saved in your system.
Summarize threads and meetings
The agent condenses a long conversation or meeting notes into decisions, owners and deadlines and posts them in the team channel.
Draft and review text
The agent drafts proposals or replies from your own material and a person approves each one. Every draft and approval is logged.
From the credential to the agent at work, with approval
Create the key in the Claude Console
In the Console, create an API key, ideally in a workspace used only by the agents, and set the spend limit available there.
Store the key in the iTeam vault
The key stays in the vault, not in prompts. Each agent gets only the actions it needs, such as reading documents but not sending e-mails.
Test small, with approval on
There is no separate sandbox, so start with a few low-risk inputs, approval on every result and a cost cap. Calling the models list is a safe way to confirm the key works.
Ready-made AI teams for this work
Questions about the Claude API
Is the Claude API free?
No. API usage is billed to your own Console account by volume, and spend limits apply. Check the current prices on Anthropic's pricing page.
Do I need to code to use the Claude API with iTeam?
Not necessarily. iTeam's HTTP tool reads the API documentation and learns the endpoints, and the deployment team sets up the key, permissions and tests with you.
Is my data safe when an agent calls the Claude API?
The key sits in the iTeam vault, each agent has its own permissions and every call is logged. What the provider does with the data it receives follows the terms of your account, so review them.
Can I process many documents at once with the Claude API?
Yes. The Message Batches endpoint runs large sets of requests asynchronously, which Anthropic documents as cheaper than sending them one by one. The agent collects the results when the batch finishes.