/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: comments and approve/reject/publish need Reviewer, creating, editing, and deleting tasks, automations, skills, and files need Editor, and team and integrations need Admin. See Team & roles.
- Workspace membership — keys belong to a user, not a workspace. A key reaches every workspace its owner is a member of; any other workspace returns
403.
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.
Endpoints
Tasks
Create, list, approve, reject, publish.
Automations
Scheduled standing briefs.
RSS & podcast feeds
Hosted feeds and their public URLs.
MCP tools
Every tool on the MCP server, with its scope and role.