HTTP API

The Workspace talks to its node over plain JSON routes under /api. When sign-in is required, every route needs a session cookie (sign in with a passkey; Users and permissions), and sensitive routes ask for a fresh Face ID. Writes are signed by the node as you, and actions that need approval still need it.

Health and live updates

Route
GET /healthUp or not
GET /api/bootstrapWhat the app needs on load
GET /api/events (WebSocket)Live updates: committed changes and streaming text

Account and devices

Route
GET /api/accountWhether this node is set up, signed in, your first name and seal
POST /api/account/create/begin|register|finishCreate your identity with a passkey
POST /api/account/signin/begin|finish, POST /api/account/signoutSign in and out
POST /api/account/stepup/begin|finishA fresh Face ID for a sensitive act
GET /api/account/sessions, POST /api/account/sessions/{id}/endDevices and browsers signed in
/api/account/passkey, /api/account/settings, GET /api/account/recoveryPasskeys, sign-in settings, ways back
/api/pair/*Adding a device with a code
/api/setup/model/*The first-run model step (ChatGPT sign-in, trying a model)

Accomplice

Route
GET/POST /api/messagesYour conversation; send a message ({text, attachments})
POST /api/messages/{id}/reactionsReact to a message
POST /api/cancelStop the running turn
GET /api/approvals, POST /api/approvals/{id}Waiting approvals; decide ({approve})
GET /api/asks, POST /api/asks/{id}/answerChoice wizards
GET/POST /api/branches, POST /api/branches/{id}/mergeSide conversations
GET /api/turns, GET /api/turns/{id}, GET /api/activityTurns and what they did
GET/POST /api/memory, DELETE /api/memory/{id}Memory notes
GET/POST /api/rules, DELETE /api/rules/{id}Standing rules
GET/PUT /api/persona, PUT /api/content-modeConstitution, sensitive instructions; content mode
/api/autonomy/*Goals, initiatives, reflections, settings
GET /api/suggestionsWhat to say next
GET /api/artifacts/{id}, POST …/refresh, …/scheduleDashboards: read, refresh, schedule
/copilotkit/*The chat runtime (AG-UI)

Voice

Route
GET/PUT /api/voice, GET /api/voice/voices, POST /api/voice/previewVoice settings
POST /api/voice/notesA voice message, transcribed
GET /api/voice/call (WebSocket)A live call

Communications

Route
GET /api/comms/list, /api/comms/counts, /api/comms/peopleThe thread index
GET /api/comms/threads/{id}, POST …/reply, …/star, …/allowRead, reply, star, allow a chat
POST /api/comms/compose, /api/comms/translateNew email; translation
GET/PUT /api/comms/settings, /api/comms/signaturesSettings and signatures
/api/whatsapp/*, /api/telegram/accounts/*, /api/settings/telegram/*Chat accounts

Knowledge, tasks, library

Route
POST /api/knowledgeGoethe operations on a vault ({operation, args, vault})
POST /api/calcEvaluate calculation lines
/api/collab/*Live co-editing
GET/POST /api/tasks, POST /api/tasks/{id}/complete|reopen|rescheduleTasks
GET /api/agendaThe agenda
GET/POST /api/library, GET /api/library/{id}/content, GET /api/blobs/{id}Files
GET /api/manual/assets/{file}Pictures of this manual

Records

Route
GET /api/data, POST /api/data/query, /preview, /actThe back office
/api/personal/{contract}/…, /api/business/{contract}/…Personal and business records
GET /api/analyticsAnalytics
POST /api/workbench/check, /installThe Workbench
/v1/*The generated DHL API (The generated API)

Identities, devices, exchange

Route
GET/POST /api/identities, POST /api/identities/{handle}/owners|members|delegations|vault, PUT /api/scopesIdentities, ownership, delegation
/api/sync/*Pairing, sync, conflicts
/api/root/*Root keys
/api/exchange/*Relationships and signed documents

Settings and integrations

Route
GET /api/connections, PUT/DELETE /api/connections/{id}/keyModel and service keys
GET/PUT /api/settings/models, /routing, /autonomy, /googleRouting, Jev, autonomy, Google
/api/settings/integrations/*PostHog, Ahrefs, Meta Ads, GitHub, MCP
/api/settings/apple-health/*, POST /api/ingest/apple-health, GET /api/personal/healthApple Health: settings, imports, goals, alerts
/api/settings/meta/*, /api/settings/cloudflare/*Facebook & Instagram, Cloudflare
/api/settings/updates, …/check, …/installSelf-update
/api/push/*Notifications
/api/apple/*The Apple apps: overview, joining the mesh, the Mac update channel
/api/code/*Coding sessions: projects, agents, sessions, answers, checks, reviews, tests, stages

Webhooks (separate port)

127.0.0.1:8788: /hooks/github, /hooks/meta, /hooks/meta-media only (Cloudflare and webhooks).