Ir para a navegação

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.

Parâmetros de caminho

agent_idstringObrigatório
The id of an agent.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
user_idstringObrigatório

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.

Resposta

Resposta bem-sucedida

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.

Erros

422
User Memory Export Request Unprocessable Entity Error