/api/workspaces/{workspaceId}/…. Find your workspace id with ait workspaces or the list_workspaces MCP tool.
Authentication
Send an API key as a bearer token on every request:- Scopes — the key must hold a scope covering the endpoint (
tasks:read,tasks:write, …). A*key holds them all. Missing scope →403. - Workspace role — the key acts as its owner, so the owner’s role applies: approve/reject/publish need Reviewer, task deletion and automation management need Admin. See Team & roles.
- Workspace binding — a key created for one workspace is rejected with
403on any other.
Responses and errors
Success responses return the resource directly — object endpoints return a bare JSON object, list endpoints return either a bare array (tasks) or a cursor envelope (automations); each endpoint page notes which. Errors are:details array of field-level issues. Every response carries an x-request-id header — include it when reporting a problem.
| Code | Meaning |
|---|---|
400 | Validation failed or the resource is in the wrong state for the action |
401 | Key missing, invalid, or revoked |
403 | Missing scope, insufficient role, or key bound to a different workspace |
404 | Not found |
409 | Conflict — e.g. a feed slug already in use |
500 | Unhandled error; the body includes a requestId |
Endpoints
Tasks
Create, list, approve, reject, publish.
Automations
Scheduled standing briefs.
RSS & podcast feeds
Hosted feeds and their public URLs.
MCP tools
The full 38-tool MCP catalog.