Skip to navigation

Update message

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Path parameters

thread_uuidstringRequired
Thread UUID
message_uuidstringRequired
Message UUID

Request

Request body
metadataobject or nullOptional

Metadata to merge onto the message; a key set to null is removed. Max 10 keys after the merge. Values must be strings, numbers, booleans, or arrays of scalars.

Response

OK
contentstringOptional
The content of the message.
created_atstringOptional
The time the message was created.
metadatamap from strings to anyOptional

Arbitrary key-value metadata attached to the message.

namestringOptional
A custom name for the message's sender, for example a specific user or agent name.
processedbooleanOptional
Whether the message has finished being ingested into the user's graph.
roleenumOptional

The role of the message's sender: system, assistant, user, function, or tool.

Allowed values:
thread_uuidstringOptional
The unique identifier of the thread this message belongs to.
uuidstringOptional
The unique identifier of the message.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error