Assemble graph context
Authentication
AuthorizationApi-Key
Type "Api-Key" followed by a space and the project API key.
Path parameters
graph_uuid
Graph UUID
Request
Request body
query
The search query used to assemble the context block.
filters
Filters constraining which graph data can be selected for the context
block.
include_results
When true, includes the raw graph results selected for the context block.
max_characters
The maximum number of characters in the assembled context block.
recency_bias
Adjusts result selection to favor more recent graph data.
Allowed values:
template_uuid
The UUID of a context template used to render the context block.
Response
OK
context
The assembled context block of facts, entities, observations, and thread summaries. Pass it through the model provider's untrusted-data channel.
results
The individual edges, nodes, episodes, observations, and thread summaries
selected to build the context. Episodes are always empty because context
assembly does not select episodes. Present only when requested.
truncated
Whether the character budget limited the size of the context block.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error