External Agent Reference

CrewOS API Docs

A curated map of CrewOS endpoints that are useful to external agents and automation accounts. Use the generated OpenAPI schema for exact request and response models.

Endpoint groups
13
Useful endpoints
180
Primary auth
API key

Request Pattern

curl -sS https://crewos.com.hk/api/v1/auth/me \
  -H "X-CrewOS-API-Key: $CREWOS_API_KEY"
curl -sS https://crewos.com.hk/api/v1/chat \
  -H "X-CrewOS-API-Key: $CREWOS_API_KEY" \
  -F "project_id=$PROJECT_ID" \
  -F "message=Prepare the project update"

Authentication and API Keys

Create, inspect, and revoke credentials. API keys inherit the creating user team, role, project access, and namespace permissions.

MethodPathPurposeAuthNotes
POST/api/v1/auth/loginExchange username and password for a JWT login response.PublicInteractive users and bootstrap scripts use this before creating API keys.
POST/api/v1/auth/refreshRefresh an interactive JWT session.JWTUse OpenAPI for body and response schema.
POST/api/v1/auth/logoutRevoke the current refresh token.JWTUse OpenAPI for body and response schema.
POST/api/v1/auth/logout-allRevoke all refresh tokens for the current user.JWTUse OpenAPI for body and response schema.
GET/api/v1/auth/meRead the authenticated user, team, role, and namespace grants.API keyUse OpenAPI for body and response schema.
GET/api/v1/auth/api-keysList API key metadata for the current user.JWTAPI-key-authenticated calls cannot manage additional keys.
POST/api/v1/auth/api-keysCreate an API key and receive the raw key once.JWTBody supports name, optional scopes, and optional expires_at.
DELETE/api/v1/auth/api-keys/{key_id}Revoke one API key.JWTUse OpenAPI for body and response schema.
GET/api/v1/auth/sso/providersDiscover enabled SSO providers for login UX or health checks.PublicUse OpenAPI for body and response schema.

Agent Discovery

Discover available CrewOS agents, skills, and the public agent-card metadata used by external automation.

MethodPathPurposeAuthNotes
GET/.well-known/agent-card.jsonFetch the well-known CrewOS agent card.PublicUse OpenAPI for body and response schema.
GET/api/v1/agentsList callable CrewOS agents and their metadata.API keyUse OpenAPI for body and response schema.
GET/api/v1/agents/agent-cardFetch the authenticated agent-card representation.API keyUse OpenAPI for body and response schema.
GET/api/v1/agents/{name}Inspect one agent by registry name.API keyUse OpenAPI for body and response schema.
GET/api/v1/skillsList configured skills available to the caller.API keyUse OpenAPI for body and response schema.
GET/api/v1/skills/discoveryRetrieve skill-discovery metadata for routing and planning.API keyUse OpenAPI for body and response schema.
GET/api/v1/skills/{skill_id}Inspect one skill definition.API keyUse OpenAPI for body and response schema.

Chat and Agent Runs

Start CrewOS work through synchronous, streaming, or external-compatible chat entry points.

MethodPathPurposeAuthNotes
POST/api/v1/chatSend a CrewOS chat message. Can attach project_id and session_id.API keyForm-data endpoint; durable project chat may return a job ID.
POST/api/v1/chat/streamStream CrewOS chat progress and final output.API keyUse OpenAPI for body and response schema.
POST/api/v1/chat/cancelCancel an active chat stream or run.API keyUse OpenAPI for body and response schema.
POST/api/v1/external/chatCompatibility chat endpoint for external agent clients.API keyUse OpenAPI for body and response schema.
POST/api/v1/external/chat/streamStreaming compatibility chat endpoint for external agent clients.API keyUse OpenAPI for body and response schema.
GET/api/v1/orchestrator/statusRead orchestrator runtime status.API keyUse OpenAPI for body and response schema.

Sessions, Transcripts, and Feedback

Create conversation containers, replay or export transcripts, share sessions, and attach feedback.

MethodPathPurposeAuthNotes
POST/api/v1/sessionsCreate a standalone session.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessionsList sessions visible to the caller.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessions/{session_id}Fetch session detail and messages.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/sessions/{session_id}Update session metadata.API keyUse OpenAPI for body and response schema.
POST/api/v1/sessions/{session_id}/closeClose an active session.API keyUse OpenAPI for body and response schema.
POST/api/v1/sessions/{session_id}/archiveArchive a session.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessions/{session_id}/transcriptFetch a transcript for downstream review or storage.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessions/{session_id}/exportExport a session bundle.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessions/{session_id}/replayFetch replay data for an existing session.API keyUse OpenAPI for body and response schema.
GET/api/v1/sessions/{session_id}/sharesList share links or invitations for a session.API keyUse OpenAPI for body and response schema.
POST/api/v1/sessions/{session_id}/sharesCreate a session share invitation.API keyUse OpenAPI for body and response schema.
POST/api/v1/sessions/{session_id}/shares/{share_id}/acceptAccept a session share invitation.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/sessions/{session_id}/shares/{share_id}Revoke a session share invitation.API keyUse OpenAPI for body and response schema.
POST/api/v1/sessions/{session_id}/feedbackSubmit feedback against a session response.API keyUse OpenAPI for body and response schema.
GET/api/v1/feedback/metricsRead aggregated feedback metrics.API keyUse OpenAPI for body and response schema.

Projects and Collaboration

Create project workspaces, manage project membership, upload project documents, and inspect project scaffolds.

MethodPathPurposeAuthNotes
POST/api/v1/projectsCreate a CrewOS project.API keyUse OpenAPI for body and response schema.
GET/api/v1/projectsList projects accessible to the caller.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}Fetch project metadata and status.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/projects/{project_id}Update project metadata.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/projects/{project_id}Delete a project when permitted.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/archiveArchive a project.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/membersList project members.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/projects/{project_id}/members/{member_user_id}Add or update a project member.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/projects/{project_id}/members/{member_user_id}Remove a project member.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/team-usersList team users available for project membership.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/access-requestsList project access requests.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/access-requestsCreate a project access request.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/projects/{project_id}/access-requests/{access_request_id}Approve or reject a project access request.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/scaffold-itemsList generated project scaffold items.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/foldersList project folders.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/folder-updatesList proposed project folder updates.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/folder-updates/{folder_update_id}/approveApprove a project folder update.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/folder-updates/{folder_update_id}/rejectReject a project folder update.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/documentsList project documents.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/documents/uploadUpload a document into a project.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/documents/reingestReingest an existing project document.API keyUse OpenAPI for body and response schema.

Tasks, Reviews, and Durable Jobs

Create task records, drive task lifecycle transitions, inspect events, and monitor durable background work.

MethodPathPurposeAuthNotes
POST/api/v1/tasksCreate a managed task.API keyUse OpenAPI for body and response schema.
GET/api/v1/tasksList tasks visible to the caller.API keyUse OpenAPI for body and response schema.
GET/api/v1/tasks/{task_id}Fetch task detail, events, dependencies, agent runs, and review metadata.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/tasks/{task_id}Update task metadata.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/tasks/{task_id}Delete a task when permitted.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/statusUpdate task status.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/tasks/{task_id}/statusPatch task status.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/retryRetry task execution.API keyUse OpenAPI for body and response schema.
GET/api/v1/tasks/{task_id}/eventsList task timeline events.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/eventsAppend a task event.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/dependenciesAdd a task dependency.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/tasks/{task_id}/dependencies/{blocks_task_id}Remove a task dependency.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/agent-runsCreate or attach a task agent-run record.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/tasks/agent-runs/{run_id}Update a task agent-run record.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/review/approveApprove a task review.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/review/request-reworkRequest rework on a task review.API keyUse OpenAPI for body and response schema.
POST/api/v1/tasks/{task_id}/review/blockBlock a task from review completion.API keyUse OpenAPI for body and response schema.
POST/api/v1/agent-jobsCreate a durable background job for supported job kinds.API keyUse OpenAPI for body and response schema.
GET/api/v1/agent-jobsList durable background jobs.API keyUse OpenAPI for body and response schema.
GET/api/v1/agent-jobs/{job_id}Get durable job status, progress, health, and result payload.API keyUse OpenAPI for body and response schema.
GET/api/v1/agent-jobs/{job_id}/eventsList durable job events.API keyUse OpenAPI for body and response schema.
POST/api/v1/agent-jobs/{job_id}/cancelRequest durable job cancellation.API keyUse OpenAPI for body and response schema.

Knowledge Base and Wiki Graph

Search, retrieve, ingest, govern, and link knowledge used by CrewOS agents.

MethodPathPurposeAuthNotes
GET/api/v1/knowledge/namespacesList namespaces visible to the caller.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/searchSearch accessible knowledge entries.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/retrieveRetrieve graph-aware knowledge context.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledgeList knowledge entries.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledgeCreate a knowledge entry.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/{entry_id}Fetch a knowledge entry.API keyUse OpenAPI for body and response schema.
PUT/api/v1/knowledge/{entry_id}Update a knowledge entry.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/knowledge/{entry_id}Delete a knowledge entry.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/ingestIngest a document into the knowledge base.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/filesList knowledge file groups.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/knowledge/filesDelete a knowledge file group.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/knowledge/files/visibilityToggle knowledge file visibility.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/{entry_id}/fileDownload an entry source file.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/wiki-graphRead the namespace wiki graph.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/wiki-governanceRead wiki governance queues.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/wiki-governance/actionsApply a wiki governance action.API keyUse OpenAPI for body and response schema.
GET/api/v1/knowledge/{entry_id}/linksList wiki links for an entry.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/{entry_id}/linksCreate a wiki link from an entry.API keyUse OpenAPI for body and response schema.
PATCH/api/v1/knowledge/{entry_id}/links/{link_id}Update a wiki link.API keyUse OpenAPI for body and response schema.
DELETE/api/v1/knowledge/{entry_id}/links/{link_id}Delete a wiki link.API keyUse OpenAPI for body and response schema.
POST/api/v1/knowledge/wiki-meditation/triggerTrigger LLM-assisted wiki graph meditation.AdminUse OpenAPI for body and response schema.
GET/api/v1/knowledge/wiki-meditation/runsList recent wiki graph meditation runs.AdminUse OpenAPI for body and response schema.
POST/api/v1/knowledge/web-research/runsRun agent-reviewed web research for KB intake.AdminUse OpenAPI for body and response schema.
GET/api/v1/knowledge/web-research/runsList recent KB web research runs.AdminUse OpenAPI for body and response schema.
GET/api/v1/knowledge/web-research/runs/{run_id}Inspect one KB web research run.AdminUse OpenAPI for body and response schema.
POST/api/v1/knowledge/web-research/runs/{run_id}/batchBatch approve or reject web research candidates.AdminUse OpenAPI for body and response schema.

Artifacts and Generated Files

Download generated artifacts, read editable source, and save artifact revisions.

MethodPathPurposeAuthNotes
GET/api/v1/attachments/{reference_token}/downloadDownload a generated artifact by reference token.API keyUse OpenAPI for body and response schema.
GET/api/v1/attachments/{reference_token}/sourceFetch editable HTML artifact source.API keyUse OpenAPI for body and response schema.
POST/api/v1/attachments/{reference_token}/revisionsSave a revised HTML artifact source.API keyUse OpenAPI for body and response schema.
POST/api/v1/attachments/{reference_token}/layout-cleanupRequest layout cleanup for an HTML artifact.API keyUse OpenAPI for body and response schema.

Project Tokenization

Inspect readiness, manage token wallets, route token-change requests, and execute approved token operations.

MethodPathPurposeAuthNotes
GET/api/v1/projects/{project_id}/tokenization/statusRead project tokenization readiness status.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/tokenization/walletsList project token wallets.API keyUse OpenAPI for body and response schema.
PUT/api/v1/projects/{project_id}/tokenization/wallets/{wallet_address}Create or update a project token wallet.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/tokenization/token/statusRead token ledger status.API keyUse OpenAPI for body and response schema.
GET/api/v1/projects/{project_id}/tokenization/token-requestsList token change requests.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token-requestsCreate a token mint, transfer, or burn request.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token-requests/{request_id}/approveApprove a token change request.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token-requests/{request_id}/rejectReject a token change request.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token-requests/{request_id}/executeExecute an approved token change request.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token/mintDirectly mint project tokens when permitted.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token/transferDirectly transfer project tokens when permitted.API keyUse OpenAPI for body and response schema.
POST/api/v1/projects/{project_id}/tokenization/token/burnDirectly burn project tokens when permitted.API keyUse OpenAPI for body and response schema.

Notifications

Monitor and mark notification-center events for an external worker account.

MethodPathPurposeAuthNotes
GET/api/v1/notificationsList notifications.API keyUse OpenAPI for body and response schema.
GET/api/v1/notifications/unread-countRead unread notification count.API keyUse OpenAPI for body and response schema.
POST/api/v1/notifications/{notification_id}/readMark one notification as read.API keyUse OpenAPI for body and response schema.
POST/api/v1/notifications/read-allMark all notifications as read.API keyUse OpenAPI for body and response schema.
POST/api/v1/notifications/{notification_id}/dismissDismiss one notification.API keyUse OpenAPI for body and response schema.
GET/api/v1/notifications/preferencesRead notification preferences.API keyUse OpenAPI for body and response schema.
PUT/api/v1/notifications/preferencesUpdate notification preferences.API keyUse OpenAPI for body and response schema.

Review, Validation, Testing, and Capability Gaps

Use human-review queues, validation scoring, test scenarios, and capability-gap reports in external QA agents.

MethodPathPurposeAuthNotes
GET/api/v1/review/queueList review queue items.API keyUse OpenAPI for body and response schema.
POST/api/v1/review/queueSubmit an item for review.API keyUse OpenAPI for body and response schema.
GET/api/v1/review/queue/statsRead review queue stats.API keyUse OpenAPI for body and response schema.
GET/api/v1/review/queue/{item_id}Fetch one review item.API keyUse OpenAPI for body and response schema.
POST/api/v1/review/queue/{item_id}/approveApprove a review item.API keyUse OpenAPI for body and response schema.
POST/api/v1/review/queue/{item_id}/rejectReject a review item.API keyUse OpenAPI for body and response schema.
POST/api/v1/review/queue/{item_id}/quarantineQuarantine a review item.API keyUse OpenAPI for body and response schema.
POST/api/v1/review/queue/batchApply batch review decisions.API keyUse OpenAPI for body and response schema.
GET/api/v1/review/queue/{item_id}/transcriptFetch a review item transcript.API keyUse OpenAPI for body and response schema.
GET/api/v1/review/queue/{item_id}/attachments/{attachment_index}/downloadDownload a review attachment.API keyUse OpenAPI for body and response schema.
POST/api/v1/validation/validateRun validation scoring.API keyUse OpenAPI for body and response schema.
GET/api/v1/validation/logsList validation logs.API keyUse OpenAPI for body and response schema.
GET/api/v1/validation/configRead default validation config.API keyUse OpenAPI for body and response schema.
POST/api/v1/testing/runTrigger a configured test run.API keyUse OpenAPI for body and response schema.
GET/api/v1/testing/runsList test runs.API keyUse OpenAPI for body and response schema.
GET/api/v1/testing/runs/{run_id}Fetch one test run.API keyUse OpenAPI for body and response schema.
GET/api/v1/testing/scenariosList configured test scenarios.API keyUse OpenAPI for body and response schema.
GET/api/v1/capability-gaps/reportsList capability-gap reports.API keyUse OpenAPI for body and response schema.
POST/api/v1/capability-gaps/reports/runRun a capability-gap report.API keyUse OpenAPI for body and response schema.
GET/api/v1/capability-gaps/reports/{report_id}Fetch one capability-gap report.API keyUse OpenAPI for body and response schema.
GET/api/v1/capability-gaps/findingsList capability-gap findings.API keyUse OpenAPI for body and response schema.
POST/api/v1/capability-gaps/findings/{finding_id}/statusUpdate a capability-gap finding status.API keyUse OpenAPI for body and response schema.
POST/api/v1/capability-gaps/findings/{finding_id}/create-taskCreate a task from a capability-gap finding.API keyUse OpenAPI for body and response schema.

Admin Automation

Privileged endpoints for external admin agents that manage users, model settings, policy, audit, and system queues.

MethodPathPurposeAuthNotes
GET/api/v1/auth/usersList users.AdminUse OpenAPI for body and response schema.
PATCH/api/v1/auth/users/{user_id}Update a user account.AdminUse OpenAPI for body and response schema.
POST/api/v1/auth/users/{user_id}/unlockUnlock a user account.AdminUse OpenAPI for body and response schema.
GET/api/v1/auth/agent-namespace-policiesList agent namespace policies.AdminUse OpenAPI for body and response schema.
PUT/api/v1/auth/agent-namespace-policies/{agent_name}Update an agent namespace policy.AdminUse OpenAPI for body and response schema.
GET/api/v1/auth/tool-configList team tool configs.AdminUse OpenAPI for body and response schema.
PUT/api/v1/auth/tool-config/{team_id}Update a team tool config.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/llm-configRead model routing configuration.AdminUse OpenAPI for body and response schema.
PUT/api/v1/admin/llm-configUpdate model routing configuration.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/llm-config/catalogList model catalog metadata.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/llm-config/token-budgetRead token-budget controls.AdminUse OpenAPI for body and response schema.
PUT/api/v1/admin/llm-config/token-budgetUpdate token-budget controls.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/llm-usage/summaryRead LLM usage summary.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/cacheRead semantic cache stats.AdminUse OpenAPI for body and response schema.
POST/api/v1/admin/cache/invalidateInvalidate semantic cache entries.AdminUse OpenAPI for body and response schema.
GET/api/v1/admin/queue/statsRead backend queue stats.AdminUse OpenAPI for body and response schema.
GET/api/v1/audit/eventsList audit events.AdminUse OpenAPI for body and response schema.
GET/api/v1/audit/events/export.csvExport audit events as CSV.AdminUse OpenAPI for body and response schema.
GET/api/v1/audit/integrityVerify audit-log integrity.AdminUse OpenAPI for body and response schema.
GET/api/v1/pipeline-policyRead default pipeline policy.AdminUse OpenAPI for body and response schema.
PUT/api/v1/pipeline-policyUpdate default pipeline policy.AdminUse OpenAPI for body and response schema.
GET/api/v1/prompt-standardsList prompt standards.AdminUse OpenAPI for body and response schema.
PUT/api/v1/prompt-standards/{agent_name}Upsert a prompt standard.AdminUse OpenAPI for body and response schema.

Health and Discovery Documents

Unauthenticated endpoints useful for monitors, load balancers, and client-code generation.

MethodPathPurposeAuthNotes
GET/health/liveLiveness probe.PublicUse OpenAPI for body and response schema.
GET/health/readyDeep readiness probe.PublicUse OpenAPI for body and response schema.
GET/healthReadiness alias.PublicUse OpenAPI for body and response schema.
GET/openapi.jsonGenerated OpenAPI schema for exact request and response shapes.PublicUse OpenAPI for body and response schema.
GET/docsGenerated FastAPI Swagger UI.PublicUse OpenAPI for body and response schema.