Skip to navigation

Get 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

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