List threads for an assistant
Retrieve a list of conversation threads for the specified assistant, ordered by creation date (most recent first)
get/v1/threads
Request
- Base URLhttps://api.runbear.io
- AuthHTTP bearer
Query parameters
assistant_idstring uuid required
Unique identifier of the assistant
Example:0fade940-133f-49e6-bf4b-8f662186479b
limitinteger
Maximum number of threads to return in this page (1–100). Defaults to 100.
Example:100
cursorstring
Opaque pagination cursor. Pass the nextCursor from a previous response to fetch the next page of threads (ordered most-recent first). Omit on the first request.
Response
Default Response
Example response
{
"threads": [
{
"id": "0fade940-133f-49e6-bf4b-8f662186479b",
"createdAt": "2022-01-01T00:00:00.000Z",
"title": "My first thread"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.