Add Data in batch mode
Add data to the graph in batch mode, processing episodes concurrently. Use only for data that is insensitive to processing order.
Request
This endpoint expects an object.
episodes
graph_id
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
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.
Response
Added episodes
content
created_at
uuid
processed
role
Optional role, will only be present if the episode was created using memory.add API
role_type
Optional role_type, will only be present if the episode was created using memory.add API
score
session_id
source
Allowed values:
source_description