Skip to main content

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.

Headers

HeaderRequiredDescription
AuthorizationYesBearer $QODER_PAT

Query parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records per page
after_idstringNoCursor 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

FieldTypeDescription
dataarrayArray of MemoryStore objects
first_idstringID of the first record on the current page
last_idstringID of the last record on the current page
has_morebooleanWhether more pages are available

Errors

HTTPTypeTrigger
401TOKEN_INVALIDMissing or invalid authentication token

Pagination

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.