List threads in a project
GET/ai/projects/:project_id/threads
Returns the conversation threads in a project that you are allowed to see: the threads you created, plus any thread another member has shared as public. You need at least read-only access to the project. Results are paged. Increase offset by limit while next_available is the string "yes" and stop when it is "no".
Request
Responses
- 200
- 400
- 500
The threads on this page, together with count (threads in this response), total_count (threads matching the request before paging) and next_available. Page through by increasing offset by limit while next_available is the string "yes"; stop when it is "no". next_available is a string, not a boolean.
Response Headers
The request was invalid or you do not have permission. The body is {"Message": " - limit above 5000 (IPV-1050), or a malformed filterExpression (IPV-1004). Permission failures return 400, not 403.
Response Headers
An unexpected server error. The body is {"Message": "GE-1008 - Could not complete the request. Please try again."}. A sortby or projectionExpression naming a field that some threads do not carry also surfaces here.