Get Message

Deprecated

Deprecated: Use graph.episodes.get instead. Returns a specific message from a session.

Path parameters

sessionIdstringRequired
Soon to be deprecated as this is not needed.
messageUUIDstringRequired
The UUID of the message.

Response

The message.
contentstring
The content of the message.
role_typeenum

The type of the role (e.g., “user”, “system”).

created_atstring
The timestamp of when the message was created.
metadatamap from strings to any
The metadata associated with the message.
processedboolean
Whether the message has been processed.
rolestring

Customizable role of the sender of the message (e.g., “john”, “sales_agent”).

token_countinteger
Deprecated
updated_atstring
Deprecated
uuidstring
The unique identifier of the message.

Errors

404
Not Found Error
500
Internal Server Error