跳到导航

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.

路径参数

agent_idstring必需
The id of an agent.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
user_idstring必需

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.

响应

成功响应

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.

错误

422
User Memory Export Request Unprocessable Entity Error