List chat threads
Changed onRequest
- Base URL: https://your-tenant.cubecloud.dev
- URL: https://your-tenant.cubecloud.dev/api/v1/deployments/{deploymentId}/chat-history/threads
- Auth: HTTP bearer
Path parameters
Query parameters
Only threads whose createdAt is at or after this ISO 8601 date or date-time.
Only threads whose createdAt is at or before this ISO 8601 date-time. A date alone (2026-10-01) includes that whole day, UTC.
Only threads whose updatedAt is at or after this ISO 8601 date or date-time. A thread is updated by every new turn, so this is the filter for incremental exports.
Only threads whose updatedAt is at or before this ISO 8601 date-time. A date alone (2026-10-01) includes that whole day, UTC.
Cube user ids. Repeat the parameter to match any of several values, up to 100.
User emails, matched case-insensitively against Cube users and against the email an embedded user signed in with. Repeat the parameter to match any of several values, up to 100.
External ids of embedded-analytics users, as your application passed them. Repeat the parameter to match any of several values, up to 100.
Where the thread was started: web (the Cube app or embedded analytics), api (the Chat API), mcp, slack or scheduled (a scheduled task). Repeat the parameter to match any of several values, up to 100.
The surface inside the app the thread began on. Repeat the parameter to match any of several values, up to 100.
Agent ids; -1 selects the Auto agent. Repeat the parameter to match any of several values, up to 100.
Case-insensitive match on the thread title or its chat id.
Return every thread with its turns. Pages then default to 20 threads and hold at most 50.
Response
Changes
- info
endpoint added
- info