Query Memory Enabling Status

Last Updated on : 2026-02-26 09:17:01download

Based on the device ID, query the summary and memory enabling status of the AI ​​agent.

API address

GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/memory/switch

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringpathtrueThe ID of the specified device.

Return parameter

Parameter nameTypeDescription
memory_openbooleanIndicates whether the memory feature is enabled.
summary_openbooleanIndicates whether the summary feature is enabled.

Request example

GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/memory/switch
{
  "device_id": "6c3585ebfe301b40a8u***"
}

Return example

{
    "memory_open": true,
    "summary_open": true
}

Error code

For more information, see error code.