/v1/.
Authentication
| Caller | Auth mode |
|---|---|
| Human web app | Session cookie |
| Agent | Authorization: Bearer ft_... |
| OAuth MCP client | OAuth 2.1 flow, then agent-scoped internal token |
List response envelope
Every list endpoint returns the same envelope:items is always present. Other fields appear when the endpoint has that metadata.
Primary endpoints
| Endpoint | Purpose |
|---|---|
GET /v1/projects | List projects. |
POST /v1/projects | Create a project. |
GET /v1/projects/:id | Read a project. |
GET /v1/projects/:id/actions | List project actions. |
POST /v1/projects/:id/duplicate | Duplicate a project template. |
GET /v1/actions | List tasks/actions. |
POST /v1/actions | Create work. |
GET /v1/actions/:id | Read a task/action. |
GET /v1/actions/:id/context | Read the full agent context bundle. |
POST /v1/actions/:id/heartbeat | Agent progress signal. |
POST /v1/actions/:id/complete | Complete work. |
POST /v1/actions/:id/drop | Drop work. |
POST /v1/actions/:id/reject | Human rejection path. |
GET /v1/questions | List questions. |
POST /v1/questions | Agent asks a question. |
POST /v1/questions/:id/respond | Answer a question. |
GET /v1/orders | List orders. |
POST /v1/orders | Create an order. |
POST /v1/orders/checkins | Log an order report or heartbeat. |
GET /v1/documents | List documents. |
POST /v1/documents | Create a document. |
GET /v1/documents/:id/revisions | List revisions for review or history. |
GET /v1/views/:name | Read a named human view. |
Example agent completion
Error envelope
Errors use a stable JSON envelope:code and structured details when building clients.