Base URL
Authentication
All requests require an API key passed as a header:
Authorization: Bearer with an API key is not supported. Pass the key as x-api-key.
Request Body
Examples
Synchronous Invocation
Waits for the agent to complete and returns the result inline.
With MCP OAuth Token
If the agent uses skills that require OAuth (e.g. Notion, Google Calendar), pass the user’s OIDC token:
Files and images
input.files takes URLs alongside the text; the agent receives them as attachments.
Asynchronous Invocation
Fire-and-forget - returns immediately with a task ID. Poll for results separately.
Response
Status values
What NOT to Use