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.
episodeslist of objectsRequired
graph_idstringOptional

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_idstringOptional

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
contentstring
created_atstring
uuidstring
processedboolean or null
rolestring or null
Optional role, will only be present if the episode was created using memory.add API
role_typeenum or null

Optional role_type, will only be present if the episode was created using memory.add API

scoredouble or null
session_idstring or null
sourceenum or null
Allowed values:
source_descriptionstring or null

Errors