Skip to Content
Docs
ReferenceRead

List memories

POST
/list_memories

Lists the awen memories the user can use: folders of instructions and files that awen's own assistant follows, 50 at a time, with whether the user turned each on or off. Pass a memory's id to fetch to read its instructions and files. Pass next_cursor back as cursor for the next page.

Needs a key with awen:read. Costs 1 unit of the key's rate limit.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from Settings → Connected apps → API keys, sent as Authorization: Bearer awen_sk_…. Keep it on a server: a request from a web page is refused.

Request Body

application/json
  1. body
cursor?string
Length1 <= length <= 512

Response Body

The operation's answer.

application/json
  1. response
memories*array<>
next_cursor*string|null
Example Request
curl -X POST 'https://app.awen.ai/api/v1/list_memories' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "memories": [    {      "id": "string",      "folder_id": "string",      "name": "string",      "description": "string",      "project": {        "project_id": "string",        "name": "string"      },      "enabled": true,      "url": "string"    }  ],  "next_cursor": "string"}