Skip to main content

Base URL

Authentication

All endpoints require a Bearer token. Get your API key from the dashboard.

Quick Example

Create a context, append a message, and retrieve it:

Response Format

All responses return JSON with a consistent structure:
Each message includes an index field (0-based position in context). Add ?history=true to include version history. See View Context History for details.

Error Handling

Errors return a JSON object with an error field: