Create Thread
POST /api/v1/team-chat/threads
Create a new conversation thread.
Args: body: Thread creation data. user: The authenticated user context. svc: The conversation service (injected).
Returns: The created thread.
Authorizations
Request Body required
Input schema for creating a conversation thread.
Attributes: context_id: Groups related A2A messages. title: Optional human-readable thread title. participant_roles: List of agent role strings. workflow_run_id: Optional FK to workflow_runs.id. metadata: Optional extensible metadata.
Responses
200
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
422
Validation Error