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.
| Operation | Token | Status |
|---|---|---|
POST /api/v1/call | owner or agent token (within the agent’s grant) | preview |
POST /api/v1/call/stream | owner or agent token (within the agent’s grant) | preview |
GET /api/v1/calls | owner token | preview |
GET /api/v1/machines | owner or agent token | preview |
GET /api/v1/tools | owner or agent token | preview |
GET /api/v1/usage | owner token | preview |