Skip to content

List Threads

GET
/api/v1/team-chat/threads

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

Parameters

Query Parameters

status
Any of:
string

Filter by thread status

context_id
Any of:
string

Filter by context_id

limit

Maximum threads to return

integer
default: 50 >= 1 <= 200

Maximum threads to return

offset

Number of threads to skip

integer

Number of threads to skip

Responses

200

Successful Response

Array<object>

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
context_id
required
string
created_at
required
string format: date-time
id
required
string format: uuid
message_count
integer
metadata
required
Any of:
object
key
additional properties
any
participant_roles
required
Array<string>
status
required
string
tenant_id
required
string format: uuid
title
required
Any of:
string
updated_at
required
string format: date-time
workflow_run_id
required
Any of:
string format: uuid

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string