Base URL
/api/v1.
The 30-second tour
Authenticate with a user-scoped API key and POST a prompt to/threads.
The prompt is required — it’s persisted as the first user message and
triggers an assistant response that generates asynchronously. You get back
the thread plus the IDs of both messages:
status
object (idle, in_progress, or error) you can poll until the assistant
finishes.
What’s next
Authentication
How to create and use API keys and M2M credentials.
Endpoints
Reference for the five thread endpoints, with examples, errors, rate
limits, and pagination.