Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API route inventory

Find endpoint paths and message types here. See the API contract for encoding, errors, and authorization. Empty means no body.

Route access groups describe middleware placement. scoped does not promise access to every scoped credential: handlers also enforce permissions, and session creation requires root. See Authorization.

Integrations and diagnostics

MethodPathRoute access groupRequest bodyResponse
GET/api/audioroot-onlyEmptyAudioState
GET/api/audio/outputsroot-onlyEmptyAudioOutputs
GET/api/capabilitiesroot-onlyEmptyCapabilities
GET/api/healthscopedEmptyHealth
GET/api/jukeboxroot-onlyEmptyJukeboxCatalog
GET/api/jukebox/presetsroot-onlyEmptyJukeboxCatalog
POST/api/jukebox/presetsroot-onlyStationAck
DELETE/api/jukebox/presets/:idroot-onlyEmptyAck
PUT/api/jukebox/presets/:idroot-onlyStationAck
POST/api/ncspotroot-onlyRedrawReqSessionResult
GET/api/plannerroot-onlyEmptyPlannerDocument
PUT/api/plannerroot-onlyPlannerSaveReqPlannerDocument
GET/api/planner/items/:id/descriptionroot-onlyEmptyPlannerDescription
PUT/api/planner/items/:id/descriptionroot-onlyPlannerSaveReqPlannerDescription
PUT/api/planner/items/:id/linksroot-onlyPlannerLinksReqPlannerDocument
POST/api/timers/:name/runroot-onlyEmptyAck
POST/api/timers/previewroot-onlyTimerConfigTimerPreview
GET/api/usageroot-onlyEmptyUsageSnapshot
GET/api/whereisroot-onlyEmptyWhereIsReply

Workspace and files

MethodPathRoute access groupRequest bodyResponse
GET/api/browseroot-onlyEmptyBrowseResult
DELETE/api/filesroot-onlyFileReqAck
POST/api/filesroot-onlyFileReqAck
PUT/api/filesroot-onlyFileReqAck
GET/api/files/statroot-onlyEmptyFileStatResult
GET/api/gitroot-onlyEmptyGitResult
POST/api/highlightroot-onlyHighlightReqTextResult
GET/api/highlight/themesroot-onlyEmptyHighlightThemes
GET/api/imageroot-onlyEmptyImageResult
GET/api/readroot-onlyEmptyTextResult
GET/api/searchroot-onlyEmptySearchResult

Configuration and state

MethodPathRoute access groupRequest bodyResponse
GET/api/configroot-onlyEmptyConfigResult
PUT/api/configroot-onlyReplaceConfigRequestAck
PUT/api/config/patchroot-onlyConfigPatchAck
GET/api/presetsroot-onlyEmptyPresetsReply
DELETE/api/presets/:kind/:nameroot-onlyEmptyAck
PUT/api/presets/:kind/:nameroot-onlyPresetRequestAck
POST/api/presets/:kind/:name/copyroot-onlyCopyPresetReqAck
POST/api/settings/previewroot-onlySettingsPreviewRequestSettingsPreview
GET/api/stateroot-onlyEmptyStoredStates
DELETE/api/state/:kind/:keyroot-onlyEmptyAck
DELETE/api/state/trashroot-onlyEmptyAck
POST/api/state/trash/:key/restoreroot-onlyEmptySessionResult

Library and actions

MethodPathRoute access groupRequest bodyResponse
POST/api/file-actionroot-onlyFileActionReqOutputResult
GET/api/libraryroot-onlyEmptyLibraryReply
POST/api/libraryroot-onlyLibraryItemAck
DELETE/api/library/:nameroot-onlyEmptyAck
PUT/api/library/:nameroot-onlyLibraryItemAck
POST/api/library/:name/runroot-onlyRunWhereSessionResult
GET/api/open-appsroot-onlyEmptyAppsReply
POST/api/runroot-onlyRunReqSessionResult

Projects and worktrees

MethodPathRoute access groupRequest bodyResponse
GET/api/projectsroot-onlyEmptyProjectsReply
POST/api/projectsroot-onlyProjectAck
DELETE/api/projects/:nameroot-onlyEmptyAck
GET/api/projects/:nameroot-onlyEmptyProject
PUT/api/projects/:nameroot-onlyProjectAck
POST/api/projects/previewroot-onlyProjectPreviewReqProjectPreviewResult
GET/api/worktreesscopedEmptyWorktreesReply
POST/api/worktreesscopedCreateWorktreeReqWorktree
DELETE/api/worktrees/:idscopedEmptyAck
PUT/api/worktrees/:idscopedCreateWorktreeReqWorktree
POST/api/worktrees/previewscopedCreateWorktreeReqWorktreeBase

Sessions and permissions

MethodPathRoute access groupRequest bodyResponse
GET/api/sessionsscopedEmptySessionsReply
POST/api/sessionsscopedSessionConfigAck
DELETE/api/sessions/:namescopedEmptyAck
GET/api/sessions/:namescopedEmptySessionView
PUT/api/sessions/:nameroot-onlySessionConfigAck
GET/api/sessions/:name/cwdscopedEmptyPathResult
PUT/api/sessions/:name/labelscopedLabelReqAck
PUT/api/sessions/:name/permissionsroot-onlyAgentPermissionsReqAck
PUT/api/sessions/:name/reader-pinnedscopedReaderPinnedReqAck
POST/api/sessions/:name/restartscopedEmptyAck
POST/api/sessions/:name/resumescopedEmptyAck
GET/api/sessions/:name/sandboxscopedEmptySandboxReport
POST/api/sessions/:name/startscopedEmptyAck
POST/api/sessions/:name/state/resetscopedEmptyAck
POST/api/sessions/:name/stopscopedEmptyAck

Tasks and workers

MethodPathRoute access groupRequest bodyResponse
DELETE/api/tasksscopedEmptyTaskBatchResult
GET/api/tasksscopedEmptyTasksReply
POST/api/tasksscopedCreateTaskReqTaskResult
DELETE/api/tasks/:idscopedEmptyTaskResult
GET/api/tasks/:idscopedEmptyTaskResult
POST/api/tasks/:idscopedUpdateTaskReqTaskResult
POST/api/tasks/:id/followupscopedWorkerFollowupReqAck
POST/api/tasks/cancelscopedRemoveTasksReqTaskBatchResult
POST/api/tasks/removescopedRemoveTasksReqTaskBatchResult
POST/api/workersscopedSpawnWorkerReqWorkerResult

Agent templates

MethodPathRoute access groupRequest bodyResponse
GET/api/templatesroot-onlyEmptyTemplatesReply
POST/api/templatesroot-onlySaveTemplateRequestTemplateResult
DELETE/api/templates/:nameroot-onlyEmptyAck
PUT/api/templates/:nameroot-onlyAgentTemplateTemplateResult
POST/api/templates/:name/createroot-onlyCreateAgentTemplateReqSessionResult
GET/api/templates/spawnablescopedEmptyTemplatesReply

WebSocket

GET /ws upgrades to a WebSocket connection. See the WebSocket contract for the handshake and subprotocol.

DirectionMessage
Client → daemonClientMessage
Daemon → clientEvent