Sigroom Docs

API Routes

Paths below are relative to the Sigroom API base URL. The browser client forwards them through /api/sigroom. Keep the /v1 prefix on public session routes. Each operation checks its own permissions and feature gates.

referenceAPI consumers and platform developersSource reviewed 2026-11-22

Route Groups

GroupRepresentative Routes
IdentityGET /identity/session, POST /identity/register/options, POST /identity/login/verify
OAuthGET /identity/oauth/:provider/start, GET /identity/oauth/:provider/callback
Personal assistant statusGET /identity/assistant?api_version=2 returns the signed-in owner's assistant or null when the shared feature is enabled.
Personal assistant inboxGET /identity/assistant/notifications?api_version=2 requires the current assistant ID in X-Assistant-Account.
WorkspacesGET /workspaces, POST /workspaces, GET /workspaces/:workspaceId
RoomsGET /workspaces/:workspaceId/rooms, POST /workspaces/:workspaceId/rooms, PATCH /workspaces/:workspaceId/rooms/:roomId/policy
EventsPOST /workspaces/:workspaceId/rooms/:roomId/events, GET /workspaces/:workspaceId/rooms/:roomId/events
ArtifactsPOST /workspaces/:workspaceId/rooms/:roomId/events/:eventId/artifacts, GET /workspaces/:workspaceId/artifacts/:artifactId/content
ReviewGET /workspaces/:workspaceId/rooms/:roomId/review, POST /workspaces/:workspaceId/rooms/:roomId/review/decisions
ProjectsGET /workspaces/:workspaceId/projects, POST /workspaces/:workspaceId/projects, defaults, progress, decisions, handoff, scope, IDE, and scans
Harness tasksGET /workspaces/:workspaceId/harness-tasks, POST /workspaces/:workspaceId/harness-tasks/select, PATCH /workspaces/:workspaceId/harness-tasks/:kind/:id
Harness sandbox sessionsGET /workspaces/:workspaceId/harness-sandbox-sessions/:sessionId, POST /workspaces/:workspaceId/harness-sandbox-sessions/:sessionId/stop
Platform-admin package diagnosticsGET /package-security/summary, GET /package-security/findings, POST /admin/package-security/scans; all require platform-admin access and their feature gates
Project JournalGET /workspaces/:workspaceId/projects/:projectId/lifecycle
List public sessionsGET /v1/workspaces/:workspaceId/projects/:projectId/sessions requires session:read access to the project and the public sessions entitlement.
Create a public sessionPOST /v1/workspaces/:workspaceId/projects/:projectId/sessions requires session:create access, the public sessions entitlement and an Idempotency-Key header. New sessions also require runtime admission and a policy within the allowed limits.
AdminGET /admin/security, GET /admin/audit, POST /admin/revocations

Read notification history

With your signed-in owner session, read GET /identity/assistant?api_version=2. If you have an active shared assistant, send its assistant_id in the X-Assistant-Account header with GET /identity/assistant/notifications?api_version=2. The inbox returns 409 ASSISTANT_ACCOUNT_CHANGED for a missing or stale account header. Notifications are ordered newest first. Pass next_cursor unchanged as the cursor query parameter until next_cursor is null.

  • The optional limit accepts integers from 1 to 100 and defaults to 50. The service applies the owner's access, deletion and quiet-hour delivery rules on each request.
  • Reading messages already delivered works while scheduling or live providers are disabled. The recent inbox summary still returns up to 100 messages.

Harness Task Permissions

ActionRequired Access
List harness tasks and sandbox session statusworkspace.read
Select, edit, complete, or test loop tasksreview.decide plus active room membership for the affected loop workitem
Stop a sandbox sessionreview.decide for a loop task or workspace.admin for a project task
Select a project task directlyRejected with HARNESS_TASK_APPROVAL_QUEUE_REQUIRED; use task documents and execution-intent review
Edit or complete a project taskworkspace.admin
Open a sandbox sessionworkspace.admin for a project task or review.decide for a loop task, the runtime admission entitlement, and active membership if the task has a room
Run tests through command profilesreview.decide and command profiles already allowed on the loop workitem

Source Material

  • apps/api/src/server.ts
  • apps/api/src/modules
  • apps/api/src/modules/harness-tasks/routes.ts