GET
GET /chatkit/threads — OpenAI API
OpenAI API key (required); https://api.openai.com/v1
OpenAI APIList ChatKit threads
- Base URL
- https://api.openai.com/v1
- Auth
- Authorization: Bearer <OPENAI_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 284 tokens · Vary: Accept
→ 284 tokens · Vary: Accept
Critical gotchas
The Responses API is the primary interface for new text and tool workflows; Chat Completions remains a separate compatibility API.
Audio transcription uploads use multipart form data rather than a JSON request body.
cURL
curl -X GET 'https://api.openai.com/v1/chatkit/threads?limit=10&order=asc&after=example-after&before=example-before&user=example-user' \ -H "Authorization: Bearer $OPENAI_API_KEY"
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| limit | query | integer | No | Maximum number of thread items to return. Defaults to 20. |
| order | query | string | No | Sort order for results by creation time. Defaults to `desc`. |
| after | query | string | No | List items created after this thread item ID. Defaults to null for the first page. |
| before | query | string | No | List items created before this thread item ID. Defaults to null for the newest results. |
| user | query | string | No | Filter threads that belong to this user identifier. Defaults to null to return all users. |
Response 200 OK
{
"object": "list",
"data": [
{
"id": "cthr_def456",
"object": "chatkit.thread",
"created_at": 1712345600,
"title": "Demo feedback",
"status": {
"type": "active"
},
"user": "user_456"
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
} Get a free OpenAI API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.