Get Thread With Messages
GET /api/v1/team-chat/threads/{thread_id}
Get a thread with its messages.
Args: thread_id: The thread UUID string. limit: Maximum messages to return. offset: Message pagination offset. user: The authenticated user context. svc: The conversation service (injected).
Returns: The thread with embedded messages.
Raises: HTTPException: 404 if thread not found.
Authorizations
Parameters
Path Parameters
Query Parameters
Maximum messages to return
Maximum messages to return
Message offset for pagination
Message offset for pagination
Responses
200
Successful Response
Thread response with embedded messages.
Attributes: messages: Ordered list of messages in the thread.
object
Response schema for a persisted conversation message.
Attributes: id: Unique message identifier. thread_id: Owning thread identifier. sender_role: Agent role or “user”. sender_id: User ID if sender is human. content: Message content text. message_type: Type of message. artifacts: List of artifact IDs referenced. a2a_task_id: Link to A2A task if applicable. metadata: Extensible metadata. created_at: When the message was created.
object
422
Validation Error