Skip to main content

API Reference

This section contains the complete API reference for the Aragora platform.

Base URL

https://api.aragora.ai/api/v1

For self-hosted deployments, replace with your server URL. Legacy /api/... paths are also supported for backward compatibility.

Authentication

All API requests require authentication via Bearer token:

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.aragora.ai/api/v1/debates

See the Authentication Guide for details on obtaining API keys.

API Sections

Core APIs

SectionDescription
DebatesCreate, manage, and query debates
AgentsAgent configuration and management
KnowledgeKnowledge Mound operations
WorkflowsAutomated workflow execution
Control PlaneOrchestrate agents, tasks, and deliberations
DecisionsUnified decision routing (full generated reference)

Full Reference

For the complete endpoint list, see the generated API docs:

Rate Limits

TierRequests/minDebates/hour
Free6010
Pro300100
EnterpriseCustomCustom

Rate limit headers are included in all responses:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45
X-RateLimit-Reset: 1703185200

Error Handling

All errors follow a consistent format:

{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Please retry after 60 seconds.",
"details": {
"retry_after": 60
}
}
}

Common Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Invalid or missing API key
FORBIDDEN403Insufficient permissions
NOT_FOUND404Resource not found
RATE_LIMIT_EXCEEDED429Too many requests
INTERNAL_ERROR500Server error

SDKs

Official SDKs are available for:

OpenAPI Specification

The complete OpenAPI specification is available at:

https://api.aragora.ai/api/v1/openapi.json

You can import this into tools like Postman or use it to generate clients.