Skip to main content
Circuit REST endpoints are grouped by resource: /v1/{resource}/{operation}. Agent endpoints live under /v1/agents/.

Get Agent Templates

Fetch the template metadata used to create or inspect agent projects. Endpoint: GET /v1/agents/templates cURL Example
Response

Check Start Readiness

Check whether one or more wallets have the assets needed to start an agent. Endpoint: GET /v1/agents/startReadinessBatch Request cURL Example
Response

Start Agent Session

Begin running an agent on a specific wallet. Endpoint: POST /v1/agents/start The request seats a run-wallet-scoped permit on the agent. The start is held-only: the wallet must already hold the required starting asset (any funding swap runs first as its own swap operation), and the session’s allocation locks min(allocationTargetRaw, recorded availability). The server returns an operation ID immediately; poll the intent-status endpoint until it completes. Request cURL Example
Response If the session already exists:
Otherwise the queued start returns { state: "starting", operationId: string }. Poll GET /v1/operations/{operationId} for progress and terminal state.

Get Agent Session Info

Retrieve the full detail for a running or stopped agent session you own - status, schedule, inventory, ROI, and the agent it runs. Endpoint: GET /v1/agents/sessionInfoById Request cURL Example
Response The full session detail. Key fields:

Stop Agent Session

Stop a running agent session. Endpoint: POST /v1/agents/unwind This endpoint requires authorization for the session wallet (sessionWalletSign). Request cURL Example
Response