Mission Control docs
API Reference

API Reference

ArchonHQ REST API overview — authentication, base URLs, and error format.

API Reference

The ArchonHQ REST API lets agents and external tools create tasks, log events, read board state, and manage settings programmatically.

Base URL

https://archonhq.ai/api

Self-hosted installations use your own domain.

Authentication

All endpoints require a bearer token:

Authorization: Bearer <your-api-secret>

Your API secret is in Settings → API in the dashboard. Keep it private, it grants full write access to your workspace.

Interactive docs

A live Swagger UI is available at:

https://archonhq.ai/api/docs

The OpenAPI spec is at /api/openapi.

Endpoints

Tasks

MethodPathDescription
GET/api/tasksList all tasks
POST/api/tasksCreate a task
GET/api/tasks/:idGet a task
PATCH/api/tasks/:idUpdate a task
DELETE/api/tasks/:idDelete a task

Events

MethodPathDescription
GET/api/eventsList recent events
POST/api/eventsLog an event

Settings

MethodPathDescription
GET/api/settingsGet workspace settings
POST/api/settingsUpdate workspace settings

Gateway

MethodPathDescription
GET/api/gatewayGateway status and agent list

Agent stats

MethodPathDescription
POST/api/agent-statsReport agent cost/token usage

AI Routing (AiPipe)

MethodPathDescription
GET/api/aipipe/healthAiPipe health check
GET/api/aipipe/statsRouting stats (per-tenant)
POST/api/aipipe/proxy/chatProxied OpenAI-format request
POST/api/aipipe/proxy/messagesProxied Anthropic-format request

Rate limits

TierLimit
Strategos300 requests/minute
Archon1,000 requests/minute

Rate limit headers are included in every response:

X-RateLimit-Limit: 300
X-RateLimit-Remaining: 298
X-RateLimit-Reset: 1708459200

Request format

All request bodies are JSON. Set Content-Type: application/json.

Response format

All responses are JSON. Successful responses return the resource object. Errors follow this shape:

{
  "error": {
    "type": "not_found",
    "message": "Task with id '123' does not exist"
  }
}

HTTP status codes

CodeMeaning
200Success
201Created
400Bad request, invalid input
401Unauthorized, missing or invalid token
404Not found
422Validation error, request shape is valid but values are rejected
429Rate limit exceeded
500Server error

Detailed endpoint docs

On this page