Skip to main content

Base URL

Authentication

All requests require an API key passed as a header:
Authorization: Bearer is not supported. Use x-api-key only.

Request Body

Examples

Synchronous Invocation

Waits for the agent to complete and returns the result inline.

With MCP OAuth Token

If the agent uses tools that require OAuth (e.g. Notion, Google Calendar), pass the user’s OIDC token:

Asynchronous Invocation

Fire-and-forget — returns immediately with a task ID. Poll for results separately.

Response

Status values

What NOT to Use