Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/memory_stores
Retrieves all Memory Stores under the current account with cursor pagination.
| Header | Required | Description |
|---|
Authorization | Yes | Bearer $QODER_PAT |
Query parameters
| Parameter | Type | Required | Description |
|---|
limit | integer | No | Maximum number of records per page |
after_id | string | No | Cursor pagination: return records after this ID |
Example request
# List all
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores" \
-H "Authorization: Bearer $QODER_PAT"
# Paginate
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores?limit=10&after_id=memstore_xxx" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
Returns a paginated list object.
{
"data": [
{
"id": "memstore_019e3bb8d50674d9b082b73709c29c87",
"type": "memory_store",
"name": "doc-test-store",
"description": "Test store",
"status": "active",
"entry_count": 0,
"total_size": 0,
"metadata": {},
"created_at": "2026-05-18T15:33:49.449264Z",
"updated_at": "2026-05-18T15:33:49.449264Z"
}
],
"first_id": "memstore_019e3bb8d50674d9b082b73709c29c87",
"last_id": "memstore_019e3bb8d50674d9b082b73709c29c87",
"has_more": false
}
Response fields
| Field | Type | Description |
|---|
data | array | Array of MemoryStore objects |
first_id | string | ID of the first record on the current page |
last_id | string | ID of the last record on the current page |
has_more | boolean | Whether more pages are available |
Errors
| HTTP | Type | Trigger |
|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
When has_more is true, use last_id as the next request’s after_id to continue:
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores?limit=10&after_id=memstore_last_id" \
-H "Authorization: Bearer $QODER_PAT"
See Errors for the full error envelope.