Skip to content

Override Decision

POST
/api/v1/team-chat/threads/{thread_id}/override-decision

Override an agent decision with a user directive.

Args: thread_id: The thread UUID string. body: Override decision request data. user: The authenticated user context. svc: The intervention service (injected).

Returns: The user override message.

Authorizations

Parameters

Path Parameters

thread_id
required
string

Request Body required

Request body for overriding an agent decision.

Attributes: decision_id: The ID of the decision to override. new_direction: The user’s new direction.

object
decision_id
required
string
new_direction
required
string

Responses

200

Successful Response

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
a2a_task_id
required
Any of:
string
artifacts
required
Any of:
Array<string>
content
required
string
created_at
required
string format: date-time
id
required
string format: uuid
message_type
required
string
metadata
required
Any of:
object
key
additional properties
any
sender_id
required
Any of:
string
sender_role
required
string
thread_id
required
string format: uuid

422

Validation Error

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