Skip to main content
Every action available in the UI is also available over the REST API. Authenticate with Authorization: Bearer <key>.

Base URL

Create an agent

Start and run a session

Send another prompt

Stream the response

Events are server-sent (SSE), newline-delimited:

SDK examples

See the API Reference for the full endpoint list.