Skip to main content

Worked request and response samples

Copy a request body as written, substitute your own ids, and compare the response envelope. Errors follow Devotel Orbit’s { error, meta } envelope, shown once below under Error envelope.

Create an agent

POST /api/v1/agents/
Only name is required. Everything else falls back to tenant defaults, so a minimal body is enough to spin up a draft agent. Request

Send a chat message

POST /api/v1/agents/{id}/chat
Request

List an agent’s recent tool calls

GET /api/v1/agents/{id}/tool-history
Use a different agt_ id for each sample — the examples below substitute agt_3f6a81c2d4e5471a9b0c2d5e.

Error envelope

Most write failures return 422 VALIDATION_ERROR with the offending field named in message.
422