Przejdź do nawigacji

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.

Parametry ścieżki

agent_idstringWymagany
The id of an agent.

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
user_idstringWymagany

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.

Odpowiedź

Pomyślna odpowiedź

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.

Błędy

422
User Memory Export Request Unprocessable Entity Error