Add Data

Add data to the graph.

Request

This endpoint expects an object.
datastringRequired
typeenumRequired
Allowed values:
created_atstringOptional
group_idstringOptional
source_descriptionstringOptional<=500 characters
user_idstringOptional

Response

Added episode
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

session_idstring or null
Optional session ID. Will be present only if the episode corresponds to the messages added using memory.add API
sourceenum or null
Allowed values:
source_descriptionstring or null

Errors