Add messages to a thread
Add messages to a thread.
Path parameters
threadId
The ID of the thread to which messages should be added.
Headers
Authorization
Header authentication of the form Api-Key <token>
Request
This endpoint expects an object.
messages
A list of message objects, where each message contains a role and content.
ignore_roles
Optional list of role types to ignore when adding messages to graph memory.
The message itself will still be added, retained and used as context for messages
that are added to a user's graph.
return_context
Optionally return memory context relevant to the most recent messages.
Response
An object, optionally containing user context retrieved for the last thread message
context