Base URL
Making a request
Almost everything in Composer is an operation with a name, likeagent.chat or knowledge.add. Call any operation by sending its input as JSON to:
cURL
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, takelimit 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
/opcan 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.