Modify Message

Update the details of a message associated with an agent.

Authentication

AuthorizationBearer

Header authentication of the form Bearer <token>

Path parameters

agent_idstringRequiredformat: "^agent-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"=42 characters

The ID of the agent in the format ‘agent-<uuid4>’

message_idstringRequiredformat: "^message-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"=44 characters

The ID of the message in the format ‘message-<uuid4>’

Request

This endpoint expects an object.
UpdateSystemMessageobjectRequired
OR
UpdateUserMessageobjectRequired
OR
UpdateReasoningMessageobjectRequired
OR
UpdateAssistantMessageobjectRequired

Response

Successful Response
SystemMessageobject
OR
UserMessageobject
OR
ReasoningMessageobject
OR
HiddenReasoningMessageobject
OR
ToolCallMessageobject
OR
ToolReturnMessageobject
OR
AssistantMessageobject
OR
ApprovalRequestMessageobject
OR
ApprovalResponseMessageobject

Errors