Get user context
Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
Path Parameters
threadId
The ID of the current thread (for which context is being retrieved).
Query Parameters
minRating
The minimum rating by which to filter relevant facts.
template_id
Optional template ID to use for custom context rendering.
mode
Deprecated, this field will be removed in a future release. Defaults to summary mode. Use basic for lower latency
Allowed values:
Response
OK
context
Context block containing relevant facts, entities, and messages/episodes from the user graph. Meant to be replaced in the system prompt on every chat turn.