Skip to main content
The Composer API gives you the same operations the Composer Studio uses. You can chat with your assistants, manage their conversations and knowledge, read and write memory, start recipes with events, and hand out onboarding links.

Base URL

Making a request

Almost everything in Composer is an operation with a name, like agent.chat or knowledge.add. Call any operation by sending its input as JSON to:
The response is the operation’s output as JSON, with nothing wrapped around it.
cURL
A few things use their own routes: streaming chat, file upload, inbound webhooks, the event stream, onboarding sessions and the MCP server.

Finding operations

This reference covers the operations most integrations need. To see every operation your key can use, with its input and output schemas, call List Operations.

Errors

Errors from /op come back as a plain-text message, not JSON.
Example Error Response

Pagination

Operations that page, such as List Knowledge, take limit and before. To get the next page, pass the oldest item’s created_at as before. A page shorter than limit means there are no more.

Limits

  • Request bodies to /op can be up to 32 MB. Use file upload for larger files.
  • Inbound webhooks are limited to 120 events per minute per device.

Authentication

API keys and what each kind can do.

Chat

Send your first message to an assistant.