Add Data
Request
graph_id is the ID of the graph to which the data will be added. If adding to the user graph, please use user_id field instead.
User ID is the ID of the user to which the data will be added. If not adding to a user graph, please use graph_id field instead.
Optional metadata key-value pairs. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars.
Response
Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation. Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
Optional role_type, will only be present if the episode was created using memory.add API
Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker