List Threads
const url = 'https://api.ultimateteam.ai/api/v1/team-chat/threads?limit=50&offset=0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ultimateteam.ai/api/v1/team-chat/threads?limit=50&offset=0' \ --header 'X-API-Key: <X-API-Key>'List conversation threads with optional filters.
Args: status: Optional status filter. context_id: Optional context_id filter. limit: Maximum threads to return. offset: Pagination offset. user: The authenticated user context. svc: The conversation service (injected).
Returns: List of threads matching the filters.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Responses
Section titled “ Responses ”Successful Response
Response schema for a persisted conversation thread.
Attributes: id: Unique thread identifier. tenant_id: Owning tenant UUID. context_id: Groups related A2A messages. title: Human-readable thread title. status: Thread lifecycle state. participant_roles: List of agent role strings. workflow_run_id: Optional FK to workflow_runs.id. metadata: Extensible metadata. created_at: When the thread was created. updated_at: When the thread was last updated. message_count: Number of messages in the thread.
object
Example
[ { "message_count": 0 }]Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}