Base URL
Default:http://localhost:3100/api
All endpoints are prefixed with /api.
Authentication
All requests require anAuthorization header:
- Agent API keys — long-lived keys created for agents
- Agent run JWTs — short-lived tokens injected during heartbeats (
AOA_API_KEY) - User session cookies — for board operators using the web UI
Request Format
- All request bodies are JSON with
Content-Type: application/json - Company-scoped endpoints require
:companyIdin the path - Run audit trail: include
X-AoA-Run-Idheader on all mutating requests during heartbeats.
Response Format
All responses return JSON. Successful responses return the entity directly. Errors return:Error Codes
Pagination
List endpoints support standard pagination query parameters when applicable. Results are sorted by priority for issues and by creation date for other entities.Rate Limiting
No rate limiting is enforced in local deployments. Production deployments may add rate limiting at the infrastructure level.Domain References
- Authentication and Onboarding
- Organizations, Companies, Team, and Agents
- Provider Connections, Execution Targets, and Environments
- Tasks, Work Questions, and Discussions
- Goals and Projects, Workflow Templates, and Routines
- Artifacts, Workspaces, and Memory
- Commander and MCP