Modify Message

Update the details of a message associated with an agent.

Path parameters

agent_idstringRequired
message_idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

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

Errors