Use our OpenAI-compatible Assistants API to build conversational assistants.
Note: Some OpenAI Assistants API features are not yet supported, including streaming responses and structured tool outputs.
Method | Endpoint | Description |
---|---|---|
GET | /v1/assistants/{assistant_id} | Retrieve an assistant |
GET | /v1/assistants | List assistants |
Method | Endpoint | Description |
---|---|---|
POST | /v1/threads | Create a thread |
GET | /v1/threads/{thread_id} | Retrieve a thread |
Method | Endpoint | Description |
---|---|---|
POST | /v1/threads/{thread_id}/messages | Create a message |
GET | /v1/threads/{thread_id}/messages | List messages |
GET | /v1/threads/{thread_id}/messages/{message_id} | Retrieve a message |
Method | Endpoint | Description |
---|---|---|
POST | /v1/threads/{thread_id}/runs | Create a run |
GET | /v1/threads/{thread_id}/runs/{run_id} | Retrieve a run |
POST | /v1/threads/runs | Create a thread and run in one operation |
Status Code | Description |
---|---|
400 | Invalid request body |
401 | Invalid authentication |
500 | Internal server error |