Base URL
All API requests should be made to:Authentication
All endpoints require API key authentication. Include your key in the request headers:Response Format
All responses are JSON unless otherwise specified (e.g., streaming endpoints, audio).Success Response
Error Response
Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid API key |
FORBIDDEN | 403 | No permission for this resource |
NOT_FOUND | 404 | Resource doesn’t exist |
VALIDATION_ERROR | 400 | Invalid request parameters |
INTERNAL_ERROR | 500 | Server error |
Endpoint Groups
Templates
Discover and retrieve adventure templates
Runs
Start and manage adventure sessions
Chat
AI-powered conversations at nodes
Text-to-Speech
Generate audio narration
Pagination
List endpoints support pagination via query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Max items to return (1-100) |
offset | integer | 0 | Number of items to skip |