Hoppa till navigering

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.

Sökvägsparametrar

agent_idstringObligatorisk
The id of an agent.

Headers

xi-api-keystringValfri

Förfrågan

This endpoint expects an object.
user_idstringObligatorisk

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.

Svar

Lyckat svar
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.

Fel

422
User Memory Export Request Unprocessable Entity Error