Crucible API Reference
Integrate Crucible into your workflow with our REST API. Create sessions, manage Agents, and retrieve artifacts programmatically.
Base URL
https://api.roundtablelabs.ai/apitext
All API endpoints are prefixed with /api.
Authentication
Crucible uses JWT (JSON Web Tokens) for authentication. Most endpoints require authentication.
See the Authentication guide for details.
Main Endpoints
Sessions
Create, manage, and monitor debate sessions.
POST /sessions- Create a new sessionGET /sessions- List your sessionsGET /sessions/{id}- Get session detailsPOST /sessions/{id}/start- Start a sessionPOST /sessions/{id}/abort- Abort a running sessionDELETE /sessions/{id}- Delete a session
Agents
Manage Agents (formerly Knights) for your sessions.
GET /knights/official- List official AgentsGET /knights/mine- List your AgentsPOST /knights- Create a new AgentPUT /knights/{id}- Update an AgentDELETE /knights/{id}- Delete an Agent
Marketplace
Browse and install Agents from the Marketplace.
GET /marketplace/knights- List Marketplace AgentsGET /marketplace/telemetry- Get Marketplace statistics
Artifacts
Retrieve Decision Briefs and Meeting Minutes.
GET /sessions/{id}/artifacts/json- Get artifacts as JSONGET /sessions/{id}/artifacts/download- Download artifactsPOST /sessions/{id}/artifacts/pdf- Generate PDF
WebSocket Events
Stream real-time session events via WebSocket.
WS /sessions/{id}/events- Stream session events
Rate Limits
API rate limits vary by plan:
- Pay per Session: 100 requests per hour
- Pro: 1,000 requests per hour
- Enterprise: Custom limits
Rate limit headers are included in all responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
Error Handling
The API uses standard HTTP status codes:
400 - Bad Request401 - Unauthorized403 - Forbidden404 - Not Found429 - Too Many Requests500 - Internal Server Error