Naar navigatie springen

Export user memory

Get a copy of everything this agent remembers about an end user, to answer their request to access or take their data; each agent remembers its users separately. Conversations are not included; use the Get Conversation Details endpoint for those. Someone who reached you under identities that were never linked is a separate user for each.

Padparameters

agent_idstringVerplicht
The id of an agent.

Headers

xi-api-keystringOptioneel

Verzoek

This endpoint expects an object.
user_idstringVerplicht

ID of the end user whose memory the agent is to export. Find it from the user_id your conversation initiation data sent with Find Agents User By Identity.

Response

Geslaagde response
agent_idstring
ID of the agent whose memory was exported.
user_idstring
ID of the end user the export is about.
exported_at_unix_secsinteger
When the export was taken.
entitieslist of objects
Everything the agent remembers about the user, by who or what it is about, the user first. Includes what is no longer believed.

Fouten

422
Unprocessable Entity Error