docs/reference/api.md

API routes

All under /api/v1, authenticated with Authorization: Bearer vcn_live_… (or a session cookie). The generated spec is GET /api/v1/openapi; Swagger UI is at /api-docs. How-to: REST API.

ResourceRoutes
WorkspaceGET /workspace · POST /workspace/pause · POST /workspace/resume
AgentsGET /agents · GET /agents/{slug} · GET|PUT /agents/{slug}/voice
WorkflowsGET /workflows · GET /workflows/{slug} · POST /workflows/{slug} (start a run)
RunsGET /runs (workflow runs) · GET /runs/{id} · POST /runs/{id}/feedback
ReviewGET /reviews · GET /reviews/{kind}/{id} · POST /reviews/decide · POST /reviews/assign|snooze|signal|propose|rewrite · GET /reviews/auto-executed
AsksGET|POST /asks · GET /asks/{id} · POST /asks/{id}/decide
EventsPOST /events
AutomationsGET /automations · GET /automations/runs · POST /automations/{slug}/pause|resume|run · GET /automations/{slug}/runs · GET /automations/{slug}/runs/{runId}
MissionsGET /mission-runs · GET /mission-runs/{id} · POST /mission-runs/{id}/cancel · GET /missions/{slug}/runs
Worker runsGET|POST /worker-runs · GET /worker-runs/{id} · POST /worker-runs/{id}/claim|heartbeat|checkpoint|complete|fail|cancel · POST /runner/claim
ObjectsGET|POST /objects · GET|POST /objects/types · POST /objects/{id}/analyze|external-ref|finding-feedback · GET|POST /objects/{id}/announce · GET /objects/{id}/learning-history|status
SourcesGET|POST /sources · POST /sources/{slug}/sync
LearningsGET /learnings · GET|POST /learnings/{step}/rules · POST /learnings/{step}/rules/check · PATCH|DELETE /learnings/{step}/rules/{ruleId} · GET /learning-candidates · GET|PATCH /learning-candidates/{id} · POST /learning-candidates/{id}/decide
EvalsGET|POST /evals/{slug}/runs · POST /evals/{slug}/refresh · POST /evals/{slug}/model-upgrade-test
BudgetsGET /budgets · GET /budgets/agents
Login appsGET /login-apps · PUT|DELETE /login-apps/{provider} (admin; never returns the secret)
ChatGET|POST /chat-bindings · DELETE /chat-bindings/{id} · POST /chat-announcements · GET /conversations/{id}/records
NotificationsGET /notifications · GET|PUT /notifications/preferences · POST /notifications/read · GET /notifications/unread-count · GET /push/config · GET|POST|DELETE /push/devices
LiveGET /live (Server-Sent Events)
Artifacts and roomsPOST /artifacts · GET|PATCH /rooms/{id} · GET /rooms/{id}/export
FeedbackGET|POST /feedback

Capabilities checked: approve (decide, upsert objects, set voice), manage_sources (sources, budgets), pause_automation, pause_workspace.

Outside /api/v1

PathPurpose
/api/mcpHosted MCP (Streamable HTTP)
/.well-known/oauth-authorization-server, /oauth/register|authorize|token|revokeOAuth for MCP clients
/api/connect/{provider}/start|callbackVendor logins
/api/webhooks/{github,slack,resend,drive,twilio/sms}Inbound provider webhooks
/api/artifacts/{id}/{file}Artifact files, access-checked
/api/invites/accept, /api/signupInvites (sign-up is invite-only)