API Reference
Find Stellary’s main REST routes, authentication requirements, and request examples. The routes follow the structure of your organizations, workspaces, and projects.
It complements the MCP guide: REST is the explicit resource API, while MCP is the tool-oriented entry point used by compatible AI clients.
Identity
Account auth, sessions, 2FA, consent, exports, and personal API tokens.
/auth/loginAuthenticate a user account
/auth/meResolve the current user
/api-tokensCreate a personal access token
/notificationsList account notifications
Org & workspace
The operating hierarchy is organization -> workspace -> project.
/organizationsList organizations available to the caller
/orgs/:orgSlug/workspacesCreate a workspace in an organization
/orgs/:orgSlug/workspaces/:wsSlugRead workspace details and caller role
/invitations/:token/acceptAccept a workspace invitation
Delivery
Projects, scopes, views, columns, cards, comments, attachments, labels, and fields.
/orgs/:orgSlug/workspaces/:wsSlug/projectsCreate a project
/orgs/:orgSlug/workspaces/:wsSlug/projects/:id/roadmapRead project roadmap
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/scopesCreate a scope
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cardsCreate a card
Context
Workspace documents plus card-to-document linking endpoints.
/orgs/:orgSlug/workspaces/:wsSlug/documentsCreate a document
/orgs/:orgSlug/workspaces/:wsSlug/documents/allRead the full workspace document tree
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/documentsList card-linked documents
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/documents/:documentId/linkLink a document to a card
AI runtime
Workspace agents, mission execution, approvals, and project drafts.
/orgs/:orgSlug/workspaces/:wsSlug/agentsCreate an agent
/orgs/:orgSlug/workspaces/:wsSlug/agent-runtime/runRun an agent objective directly
/orgs/:orgSlug/workspaces/:wsSlug/agent-runtime/card-missionLaunch a card mission
/orgs/:orgSlug/workspaces/:wsSlug/project-draftsCreate an AI project draft
Platform
Plugins, skills, pipelines, and project automations.
/pluginsRead the global plugin catalog
/orgs/:orgSlug/workspaces/:wsSlug/pipelinesCreate a pipeline
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/automationsCreate a project automation
/orgs/:orgSlug/workspaces/:wsSlug/agents/:agentId/skills/:skillIdAssign a skill to an agent
Pilotage & billing
Cockpit state, decisions, actions, portfolio, and billing flows.
/orgs/:orgSlug/workspaces/:wsSlug/pilotage/dashboardRead cockpit dashboard state
/orgs/:orgSlug/workspaces/:wsSlug/pilotage/actions/proposeCreate a proposed action
/orgs/:orgSlug/workspaces/:wsSlug/pilotage/portfolioRead portfolio-level pilotage summary
/organizations/:orgSlug/billing/checkoutStart a billing checkout flow
Collaboration
App routes requiring a session and resource access.
/orgs/:orgSlug/workspaces/:wsSlug/chat/conversationsList accessible conversations
/orgs/:orgSlug/workspaces/:wsSlug/chat/conversations/:conversationId/messagesRead messages in a conversation
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/requestsRead requests tracked by a project
/orgs/:orgSlug/workspaces/:wsSlug/documents/:documentId/meeting-transcriptRead a meeting transcript
Work follow-up
App routes requiring a session and workspace permissions.
/orgs/:orgSlug/workspaces/:wsSlug/cockpit/viewsList accessible dashboard views
/orgs/:orgSlug/workspaces/:wsSlug/pipelines/:pipelineId/runsRead workflow runs
/orgs/:orgSlug/workspaces/:wsSlug/delegationFind requests for decisions and deliveries
/orgs/:orgSlug/workspaces/:wsSlug/ai-reviewsList AI review sessions
Read projects and cards
A personal access token uses the projects:read scope and its owner’s access permissions.
/orgs/:orgSlug/workspaces/:wsSlug/projectsList accessible projects
/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cardsList cards in a project
Overview
Stellary does not currently mount its resource routes behind a global /api prefix. REST endpoints live at the application root, while the Swagger UI is exposed separately in non-production builds.
REST https://api.stellary.coMCP https://api.stellary.co/mcpSend JSON request bodies with Content-Type: application/json. File uploads use multipart/form-data.
On a development instance, /api/docs and /api/docs-json show REST routes and request schemas. For responses and streams, consult the examples on this page and the route controller.
Route model
The API mirrors the product hierarchy. Workspace-scoped routes dominate the surface, and project delivery resources sit below them.
/organizations/:orgSlug/orgs/:orgSlug/workspaces/:wsSlug/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/scopes/:scopeId/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId ...Authentication
Authenticated examples use a Bearer header. Choose a session JWT or a personal access token according to the route and its permissions.
Authorization: Bearer <jwt-or-personal-access-token>JWTs come from the auth flows under /auth. Personal access tokens are created under /api-tokens and are also valid for /mcp.
- REST personal access token. Use the required read or write scope on compatible account, notification, project, and pilotage routes. The user’s role and access to each resource still apply.
- Session. Use a session JWT for organization routes, token management, agents, workflows, and custom views. With a session cookie, send X-CSRF-Token for protected writes.
- For file requests, see the access requirements.
/auth/loginAuthenticate a user. When 2FA is required, the response returns a temporary two-factor token instead of a completed session.
emailstringrequiredAccount email addresspasswordstringrequiredPlaintext passwordcurl -X POST 'https://api.stellary.co/auth/login' \ -H "Content-Type: application/json" \ -d '{ "email": "alex@example.com", "password": "correct horse battery staple"}'{ "access_token": "<jwt>", "csrfToken": "<csrf-token>", "user": { "id": "usr_123", "email": "alex@example.com", "name": "Alex", "emailVerified": true, "twoFactorEnabled": false }}/auth/2fa/authenticateFinish signing in when requiresTwoFactor is true. Use twoFactorToken from the initial response and provide your authenticator code or a backup code.
curl -X POST 'https://api.stellary.co/auth/2fa/authenticate' \ -H "Content-Type: application/json" \ -d '{ "twoFactorToken": "<temporary-token>", "code": "123456"}'/auth/meResolve the current user from a Bearer token or the session cookie. The backend may also return the CSRF token so the frontend can restore local state.
curl 'https://api.stellary.co/auth/me' \ -H "Authorization: Bearer YOUR_TOKEN"{ "user": { "id": "usr_123", "email": "alex@example.com", "name": "Alex", "jobTitle": "CTO", "language": "en", "pilotageRole": "viewer", "emailVerified": true, "twoFactorEnabled": true, "hasPassword": true, "isAgent": false, "isSuperAdmin": false, "onboardingCompletedAt": "2026-11-23T09:00:00.000Z", "preferences": { "autoMarkNotificationsReadOnOpen": true, "autoMarkAiTasksReadOnOpen": true, "productUpdatesEmailEnabled": true, "lastOrgSlug": null, "lastWsSlug": null } }, "csrfToken": "<csrf-token>"}API tokens
Personal access tokens are JWT-authenticated management endpoints. The token secret is only returned once at creation and later appears as a prefix plus metadata.
Choose the scopes you need. If scopes is omitted, the token gets projects:read and pilotage:read. To read and then write, request both corresponding scopes.
Available scopes:- projects:read- projects:write- pilotage:read- pilotage:write- notifications:read- account:read- account:write/api-tokensCreate a personal access token for MCP and compatible REST routes. This operation uses a session JWT.
namestringrequiredHuman-readable token namescopesarrayOptional subset of allowed scopesexpiresAtstringOptional ISO timestampcurl -X POST 'https://api.stellary.co/api-tokens' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "CI pipeline", "scopes": [ "projects:read", "projects:write" ], "expiresAt": "2027-01-01T00:00:00.000Z"}'{ "id": "tok_123", "name": "CI pipeline", "tokenPrefix": "sl_abcd12", "scopes": ["projects:read", "projects:write"], "expiresAt": "2027-01-01T00:00:00.000Z", "secret": "sl_very_secret_value", "createdAt": "2026-04-10T10:00:00.000Z"}/api-tokensList existing tokens for the current user. The plaintext secret is never returned again.
curl 'https://api.stellary.co/api-tokens' \ -H "Authorization: Bearer YOUR_TOKEN"/api-tokens/:idRevoke a token belonging to the signed-in account.
idstringrequiredcurl -X DELETE 'https://api.stellary.co/api-tokens/ID' \ -H "Authorization: Bearer YOUR_TOKEN"{"ok":true}Errors
The global HTTP exception filter normalizes framework and validation errors into a predictable JSON shape. Validation payload details may add extra fields, but the top-level structure stays stable.
Use the HTTP status and the application error code when provided. Keep requestId if present. If a write times out, read the resource before sending the request again.
{ "statusCode": 400, "message": "Project name is required", "error": "Bad Request"}Organizations & workspaces
Organization routes handle tenancy and cross-workspace governance. Workspace routes add member management, invitations, role-aware reads, and workspace settings. Most workspace endpoints combine auth, org access, workspace access, and permission guards.
/organizationsList organizations available to the current user.
curl 'https://api.stellary.co/organizations' \ -H "Authorization: Bearer YOUR_TOKEN"/orgs/:orgSlug/workspacesCreate a new workspace inside an organization.
orgSlugstringrequirednamestringrequiredWorkspace display nameslugstringrequiredLowercase URL slugcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Core delivery", "slug": "core-delivery"}'/invitations/:token/acceptAccept a workspace invitation. This endpoint is authenticated but not org-scoped.
tokenstringrequiredcurl -X POST 'https://api.stellary.co/invitations/INVITE_TOKEN/accept' \ -H "Authorization: Bearer YOUR_TOKEN"Projects & delivery
Delivery routes live below the workspace and cover projects, scopes, views, columns, cards, subtasks, comments, and attachments. Project routes also expose roadmap and project knowledge endpoints.
/orgs/:orgSlug/workspaces/:wsSlug/projectsCreate a project in a workspace.
orgSlugstringrequiredwsSlugstringrequirednamestringrequiredProject namedescriptionstringOptional long descriptiondeadlinestringOptional ISO deadlinecurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Checkout refactor", "description": "Stabilize the payment flow", "deadline": "2026-06-01T00:00:00.000Z"}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/scopesCreate a scope inside a project. Scope and view endpoints are split into their own controllers.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/scopes' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name":"Delivery","type":"kanban"}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cardsCreate a card directly at project level.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredtitlestringrequiredCard titledescriptionstringOptional card bodyprioritystringlow | medium | highdueDatestringOptional ISO due datecurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/cards' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "Ship rollback-safe payment webhook", "description": "Add retries and observability", "priority": "high", "dueDate": "2026-04-20T12:00:00.000Z"}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/commentsPost a comment on a card.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredcardIdstringrequiredcontentstringrequiredComment textcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/cards/CARD_ID/comments' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "content": "Release candidate is ready for review."}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/attachmentsUpload an attachment to a card.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredcardIdstringrequiredcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/cards/CARD_ID/attachments' \ -H "Authorization: Bearer YOUR_TOKEN" \ -F "file=@./document.pdf"Documents
Document routes are workspace-scoped. They cover creation, listing, count and tree views, summaries, reviews, bulk actions, and card-level document linking.
/orgs/:orgSlug/workspaces/:wsSlug/documentsCreate a document inside a workspace, project, or scope context.
orgSlugstringrequiredwsSlugstringrequiredtitlestringrequiredDocument titlecontentstringOptional source contentcontentFormatstringmarkdown or tiptap_jsondocTypestringdocument | spreadsheet | spec | brief | adr | note | meeting | reference | templatecontextTypestringrequiredorganization | workspace | project | scopecontextIdstringrequiredID of the owning contextcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/documents' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "Payment retry policy", "content": "# Payment retry policy", "contentFormat": "markdown", "docType": "spec", "contextType": "project", "contextId": "prj_123", "tags": [ "payments", "resilience" ]}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/documentsList documents linked to a card.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredcardIdstringrequiredcurl 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/cards/CARD_ID/documents' \ -H "Authorization: Bearer YOUR_TOKEN"/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/cards/:cardId/documents/:documentId/linkAttach an existing document to a card.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequiredcardIdstringrequireddocumentIdstringrequiredcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/cards/CARD_ID/documents/DOCUMENTID/link' \ -H "Authorization: Bearer YOUR_TOKEN"Agents & runtime
Stellary distinguishes between agent configuration endpoints and runtime execution endpoints. Agents are workspace-scoped service users; the runtime launches direct runs, card missions, proposal approvals, and mission progress streams.
/orgs/:orgSlug/workspaces/:wsSlug/agentsCreate a workspace agent.
orgSlugstringrequiredwsSlugstringrequirednamestringrequiredAgent display nameslugstringrequiredLowercase unique slugdescriptionstringOptional agent descriptionautonomyModestringautonomous | supervised | approvalcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/agents' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Delivery reviewer", "slug": "delivery-reviewer", "description": "Reviews risky work before apply", "autonomyMode": "approval", "mcpOnly": false}'/orgs/:orgSlug/workspaces/:wsSlug/agent-runtime/runRun an agent against an explicit objective.
orgSlugstringrequiredwsSlugstringrequiredagentUserIdstringrequiredAgent user IDobjectivestringrequiredRun objectiveprojectIdstringOptional project scopemaxStepsnumberOptional runtime capcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/agent-runtime/run' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "agentUserId": "usr_agent_123", "objective": "Summarize blockers on the checkout project", "projectId": "prj_123", "maxSteps": 8}'/orgs/:orgSlug/workspaces/:wsSlug/agent-runtime/card-missionLaunch a card mission. A successful launch returns HTTP 201. In external_mcp mode the JSON response reports queued. In local_desktop mode it reports running. For server runs, the mission_created SSE event provides missionRunId.
orgSlugstringrequiredwsSlugstringrequiredcardIdstringrequiredTarget card IDprojectIdstringrequiredOwning project IDcurl -N -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/agent-runtime/card-mission' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "cardId": "card_123", "projectId": "prj_123"}'/orgs/:orgSlug/workspaces/:wsSlug/agent-runtime/proposalsList pending runtime proposals awaiting approval or rejection.
orgSlugstringrequiredwsSlugstringrequiredcurl 'https://api.stellary.co/orgs/acme/workspaces/eng/agent-runtime/proposals' \ -H "Authorization: Bearer YOUR_TOKEN"Platform & orchestration
The platform layer exposes plugin catalog routes, workspace plugin installation, workspace skills, agent skill assignment, pipeline authoring and runs, and project automation rules.
/pluginsRead the global plugin catalog with a session JWT.
curl 'https://api.stellary.co/plugins' \ -H "Authorization: Bearer YOUR_TOKEN"/orgs/:orgSlug/workspaces/:wsSlug/pipelinesCreate a pipeline definition at workspace level.
orgSlugstringrequiredwsSlugstringrequirednamestringrequiredPipeline namedescriptionstringOptional pipeline descriptionstepsarrayrequiredPipeline graph payloadenabledbooleanOptional enabled flagcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/pipelines' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Notify the team", "description": "Send an in-app notification", "steps": [ { "type": "notification", "label": "Notify the team", "channels": [ "in_app" ], "message": "The card is ready for review." } ], "enabled": true}'/orgs/:orgSlug/workspaces/:wsSlug/projects/:projectId/automationsCreate a project automation rule.
orgSlugstringrequiredwsSlugstringrequiredprojectIdstringrequirednamestringrequiredAutomation nametriggerstringrequiredSupported trigger identifieractionobjectrequiredSupported action: move_card, set_status, set_priority, assign_user, or archive_cardenabledbooleanOptional enabled flagcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/projects/PROJ_ID/automations' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Prioritize new cards", "trigger": "task_created", "action": { "type": "set_priority", "priority": "high" }, "enabled": true}'/orgs/:orgSlug/workspaces/:wsSlug/project-draftsCreate an AI-assisted project draft.
orgSlugstringrequiredwsSlugstringrequirednamestringrequiredDraft namedescriptionstringOptional project briefcontextDocumentsarrayOptional context payloadscurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/project-drafts' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Checkout stabilization", "description": "Reduce payment failure rate", "contextDocuments": [ "Base64-or-text-doc" ], "teamMembers": [ { "name": "Alex", "role": "Engineering lead" } ]}'Pilotage & billing
Pilotage routes power the cockpit. They cover dashboard state, events, missions, priorities, todos, decisions, standing orders, briefing generation, proposed actions, portfolio views, and user preferences. Billing endpoints are organization-scoped and separate from the workspace control surface.
/orgs/:orgSlug/workspaces/:wsSlug/pilotage/dashboardRead the consolidated cockpit dashboard state for a workspace.
orgSlugstringrequiredwsSlugstringrequiredcurl 'https://api.stellary.co/orgs/acme/workspaces/eng/pilotage/dashboard' \ -H "Authorization: Bearer YOUR_TOKEN"/orgs/:orgSlug/workspaces/:wsSlug/pilotage/actions/proposeSave a steering proposal for review. The response reports suggested status.
orgSlugstringrequiredwsSlugstringrequiredcurl -X POST 'https://api.stellary.co/orgs/acme/workspaces/eng/pilotage/actions/propose' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "actionType": "review_blocker", "explanation": "Review the pending dependency before the release."}'/organizations/:orgSlug/billing/checkoutCreate a billing checkout session for the organization.
orgSlugstringrequiredcurl -X POST 'https://api.stellary.co/organizations/acme/billing/checkout' \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"planSlug":"<available-paid-plan>","interval":"monthly"}'MCP
MCP is exposed as a protocol endpoint, not as a REST resource collection. The backend accepts both GET /mcp and POST /mcp, with MCP-specific Bearer authentication, including MCP OAuth connections.
GET /mcpPOST /mcp
Authorization: Bearer <mcp-credential>Use the dedicated MCP guide for client setup and runtime behavior. Use this API reference when you need the explicit REST route model.
For user-facing setup, continue with Getting Started. For agent tooling and external AI clients, continue with MCP Integration.
Client requests for files, their contacts, links between projects and the history have their own page: Client Requests API.
For a broader market view, read Project management with AI agents and AI project management software in 2026.