Skip to content

REST API reference

Orrery serves 123 REST operations across 100 endpoints alongside /mcp. Everything an agent can do over MCP is also available over REST.

  • Authentication: Humans use session cookies from /api/auth/login; agents use Authorization: Bearer <API key>.
  • Errors: All error responses follow RFC 9457 Problem Details (application/problem+json) with a stable machine-readable code.
  • OpenAPI 3.1 spec: Generated automatically from contract/openapi.json.
Method Path Summary
POST /api/setup/admin Create the first system administrator and close setup
GET /api/setup/status Whether initial setup (creating the first administrator) is complete
GET /healthz Liveness: the process is up
GET /readyz Readiness: the database is reachable
Method Path Summary
POST /api/account/password Change the signed-in account’s password
PATCH /api/account/profile Update the signed-in account’s profile
POST /api/auth/login Sign in with email and password
POST /api/auth/logout Sign out and revoke the current browser session
POST /api/auth/password-reset/confirm Set a new password with the token from the reset email
POST /api/auth/password-reset/request Ask for a password reset link
GET /api/auth/session The account behind the browser’s session cookie

Workspaces, members, webhooks & invitations

Section titled “Workspaces, members, webhooks & invitations”
Method Path Summary
GET /api/invitations/installation List installation invitations
POST /api/invitations/installation Send an installation invitation
POST /api/invitations/installation/{invitationId}/resend Resend an installation invitation
POST /api/invitations/installation/{invitationId}/revoke Revoke an installation invitation
POST /api/invitations/installation/decline Decline an installation invitation
POST /api/invitations/installation/registration Register through an installation invitation
POST /api/transfers/accept Accept an authorized project transfer
POST /api/transfers/preview Preview an authorized transfer before accepting it
POST /api/workspace-invitations/acceptance Accept a workspace invitation as an existing account
POST /api/workspace-invitations/decline Decline a workspace invitation
GET /api/workspace-invitations/preview The workspace and address a workspace invitation link offers
POST /api/workspace-invitations/registration Register a new account through a workspace invitation
GET /api/workspaces The workspaces the signed-in account can access
POST /api/workspaces Create a shared workspace
GET /api/workspaces/{workspaceId} One workspace the signed-in account can access
GET /api/workspaces/{workspaceId}/agent-keys List every key scoped to a workspace (owner only)
DELETE /api/workspaces/{workspaceId}/agent-keys/{keyId} Revoke any key scoped to a workspace (owner only)
GET /api/workspaces/{workspaceId}/history The access history of a workspace the caller manages
GET /api/workspaces/{workspaceId}/invitations List a shared workspace’s invitations
POST /api/workspaces/{workspaceId}/invitations Invite an email into a shared workspace
POST /api/workspaces/{workspaceId}/invitations/{invitationId}/resend Resend a workspace invitation
POST /api/workspaces/{workspaceId}/invitations/{invitationId}/revoke Revoke a workspace invitation
POST /api/workspaces/{workspaceId}/leave Leave a shared workspace voluntarily
GET /api/workspaces/{workspaceId}/members The members of a shared workspace
PATCH /api/workspaces/{workspaceId}/members/{humanId} Grant or revoke a member’s workspace capabilities
DELETE /api/workspaces/{workspaceId}/members/{humanId} Remove a member from a shared workspace
POST /api/workspaces/{workspaceId}/owners Appoint a member as another owner
GET /api/workspaces/{workspaceId}/projects The projects the caller can access in a workspace
POST /api/workspaces/{workspaceId}/projects Create a project in a workspace
GET /api/workspaces/{workspaceId}/runs List the runs and child workers in one workspace
GET /api/workspaces/{workspaceId}/webhooks List a workspace’s outgoing webhooks
POST /api/workspaces/{workspaceId}/webhooks Create an outgoing webhook
PATCH /api/workspaces/{workspaceId}/webhooks/{webhookId} Update an outgoing webhook
DELETE /api/workspaces/{workspaceId}/webhooks/{webhookId} Delete an outgoing webhook
GET /api/workspaces/{workspaceId}/webhooks/{webhookId}/deliveries List a webhook’s latest 50 delivery attempts
POST /api/workspaces/{workspaceId}/webhooks/{webhookId}/rotate-secret Rotate a webhook signing secret
POST /api/workspaces/{workspaceId}/webhooks/{webhookId}/test Enqueue a synthetic webhook.test delivery
GET /api/workspaces/{workspaceId}/work-sessions/active Active work sessions in a workspace
Method Path Summary
GET /api/knowledge/{entryId} One knowledge entry the caller can access
PATCH /api/knowledge/{entryId} Edit a basic Markdown knowledge entry
PATCH /api/labels/{labelId} Rename or recolor a project label
DELETE /api/labels/{labelId} Delete a project label
GET /api/projects/{projectId} One project the caller can access
PATCH /api/projects/{projectId} Configure a project
GET /api/projects/{projectId}/access The explicit access grants on a project
PATCH /api/projects/{projectId}/access Grant or change a member’s project access
DELETE /api/projects/{projectId}/access/{humanId} Revoke a member’s project access
GET /api/projects/{projectId}/activity A project’s activity
PATCH /api/projects/{projectId}/fallback-policy Set a project’s fallback policy
GET /api/projects/{projectId}/history The activity and access history of a granted project
GET /api/projects/{projectId}/issues The issues in a project
POST /api/projects/{projectId}/issues Create an issue in a project
GET /api/projects/{projectId}/knowledge The basic Markdown knowledge entries in a project
POST /api/projects/{projectId}/knowledge Create a basic Markdown knowledge entry
GET /api/projects/{projectId}/labels The project’s labels
POST /api/projects/{projectId}/labels Create a project-scoped label
GET /api/projects/{projectId}/ready-work Minimal ready-work listing for a project
POST /api/projects/{projectId}/transfer Authorize a project transfer
POST /api/projects/{projectId}/transfer/complete Transfer a project directly
POST /api/projects/{projectId}/transfer/preview Preview a project transfer
GET /api/projects/{projectId}/trash The project’s recoverable trashed issues
Method Path Summary
GET /api/inbox The human input inbox
GET /api/issues/{issueId} One issue the caller can access
PATCH /api/issues/{issueId} Edit, close, or reopen an issue
DELETE /api/issues/{issueId} Move an issue to the project’s trash
GET /api/issues/{issueId}/blocked-by The issues that block an issue
POST /api/issues/{issueId}/blocked-by Record that an issue is blocked by another issue in the same project
DELETE /api/issues/{issueId}/blocked-by/{blockedByIssueId} Remove a blocked_by relation from an issue
GET /api/issues/{issueId}/blocking The issues that an issue blocks
GET /api/issues/{issueId}/comments The comments on an issue
POST /api/issues/{issueId}/comments Comment on an issue
PATCH /api/issues/{issueId}/fallback-policy Set or clear an issue’s fallback policy override
POST /api/issues/{issueId}/labels/{labelId} Attach a label to an issue
DELETE /api/issues/{issueId}/labels/{labelId} Detach a label from an issue
POST /api/issues/{issueId}/links Attach a structured link to an issue
DELETE /api/issues/{issueId}/links/{linkId} Remove a structured link from an issue
GET /api/issues/{issueId}/questions An issue’s question history
POST /api/issues/{issueId}/restore Restore a trashed issue
GET /api/issues/{issueId}/work-sessions The most recent work session for an issue
POST /api/issues/{issueId}/work-sessions Claim an issue for an agent and run
GET /api/issues/{issueId}/work-sessions/{sessionId}/activities The activity timeline of one work session
POST /api/issues/{issueId}/work-sessions/activities Append an activity to a live session
GET /api/issues/{issueId}/work-sessions/all Every work session recorded for an issue
POST /api/issues/{issueId}/work-sessions/progress Record progress on a live session
POST /api/issues/{issueId}/work-sessions/reacquire Reacquire this run’s expired claim
POST /api/issues/{issueId}/work-sessions/renew Check in and renew a claim
POST /api/issues/{issueId}/work-sessions/resume Inspect the original run’s claim after an interruption
POST /api/issues/{issueId}/work-sessions/stop Complete or release a live session
POST /api/issues/{issueId}/work-sessions/stop-request Ask the holding agent to stop
POST /api/questions Ask the team a blocking question
POST /api/questions/{questionId}/answer Answer a question in the inbox
Method Path Summary
GET /api/agents List the signed-in human’s agents
POST /api/agents Register an agent under the signed-in human’s identity
GET /api/agents/keys List the signed-in human’s keys, optionally in one workspace
POST /api/agents/keys Issue a workspace-scoped API key for one agent
DELETE /api/agents/keys/{keyId} Revoke one of the human’s own keys
POST /api/agents/keys/{keyId}/rotate Replace one of the human’s own keys with an overlapping replacement
GET /api/agents/me Resolve the agent behind a bearer API key
POST /api/runs/hook Report a harness run event with an agent key
Method Path Summary
GET /api/my-work My work across workspaces
GET /api/notifications The signed-in human’s in-app notifications
POST /api/notifications/{notificationId}/read Mark one notification read
POST /api/notifications/read-all Mark every accessible notification read
Method Path Summary
POST /api/admin/accounts/{humanId}/deactivate Deactivate a human account across the installation
POST /api/admin/accounts/{humanId}/reactivate Reactivate a deactivated human account
GET /api/admin/workspaces The installation’s shared-workspace ownership directory, for system administrators
POST /api/admin/workspaces/{workspaceId}/recover-ownership Restore ownership of an ownerless shared workspace
GET /api/installation/history The installation’s access history, for system administrators
POST /api/settings/email-verification Redeem the verification token from the test email
GET /api/settings/smtp The installation’s SMTP settings, without the password
PUT /api/settings/smtp Replace the installation’s SMTP settings
POST /api/settings/smtp/test Send a test email to the administrator’s own address