For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundDiscordStatusDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
      • GETGet threads
      • POSTStart a new thread.
      • DELDelete thread
      • GETGet user context
      • GETGet messages of a thread
      • POSTAdd messages to a thread
      • POSTAdd messages to a thread in batch
      • GETGet thread summary
        • PATCHUpdates a message.
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceThreadMessage

Updates a message.

PATCH
https://api.getzep.com/api/v2/messages/:messageUUID
PATCH
/api/v2/messages/:messageUUID
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.thread.message.update(
7 message_uuid="messageUUID",
8 metadata={"key": "value"},
9)
1{
2 "content": "string",
3 "role": "norole",
4 "created_at": "string",
5 "metadata": {},
6 "name": "string",
7 "processed": true,
8 "uuid": "string"
9}
Updates a message.
Was this page helpful?
Previous

Add User

Next
Built with

Path parameters

messageUUIDstringRequired
The UUID of the message.

Request

The updates.
metadatamap from strings to anyRequired

Response

The updated message.
contentstring
The content of the message.
roleenum

The role of message sender (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.
namestring

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

processedboolean
Whether the message has been processed.
uuidstring
The unique identifier of the message.

Errors

404
Not Found Error
500
Internal Server Error