Skip to Content
ReferenceHTTP APIHTTP API

HTTP API

Every route is on the contour’s own address, https://<contour>.cmdop.ai, and takes Authorization: Bearer $CMDOP_TOKEN. Errors come back as {"error": {"code": "…", "message": "…"}} with the error codes.

OperationTokenStatus
POST /api/v1/callowner or agent token (within the agent’s grant)preview
POST /api/v1/call/streamowner or agent token (within the agent’s grant)preview
GET /api/v1/callsowner tokenpreview
GET /api/v1/machinesowner or agent tokenpreview
GET /api/v1/toolsowner or agent tokenpreview
GET /api/v1/usageowner tokenpreview