GET
/
memories
/
list
curl --request GET \
  --url https://api.duohub.ai/memories/list \
  --header 'X-API-Key: <api-key>'
{
  "memories": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "userID": "user123",
      "memoryType": "vector",
      "name": "Important Memory",
      "description": "A detailed memory description",
      "chunkSize": 250,
      "chunkOverlap": 10,
      "acceleration": false,
      "factExtraction": true,
      "createdAt": "2024-01-01T00:00:00Z",
      "updatedAt": "2024-01-01T00:00:00Z"
    }
  ],
  "count": 1,
  "nextToken": "eyJpZCI6eyJTIjoiNDU2In0sInVwZGF0ZWRBdCI6eyJTIjoiMjAyNC0wMS0wMlQwMDowMDowMFoifX0=",
  "previousToken": null
}

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Query Parameters

memoryType
enum<string>

Filter memories by type

Available options:
graph,
vector
limit
integer
default:10

Maximum number of memories to return

Required range: 1 <= x <= 100
nextToken
string

Token for getting the next page of results

previousToken
string

Token for getting the previous page of results

Response

200
application/json
Memories retrieved successfully
memories
object[]
required
count
integer
required

Number of memories in the current page

nextToken
string

Token for the next page of results

previousToken
string

Token for the previous page of results