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.
POST /v1/memory_stores
Creates a new Memory Store.
| Header | Required | Description |
|---|
Authorization | Yes | Bearer $QODER_PAT |
Content-Type | Yes | application/json |
Request body
| Field | Type | Required | Description |
|---|
name | string | Yes | Memory store name (duplicates allowed) |
description | string | No | Memory store description |
Example request
curl -X POST "https://openapi.qoder.sh/api/v1/cloud/memory_stores" \
-H "Authorization: Bearer $QODER_PAT" \
-H "Content-Type: application/json" \
-d '{
"name": "my-store",
"description": "Project notes store"
}'
Example response
HTTP 201 Created
Returns the created MemoryStore object.
{
"id": "memstore_019e3bb8d50674d9b082b73709c29c87",
"type": "memory_store",
"name": "my-store",
"description": "Project notes 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"
}
Response fields
| Field | Type | Description |
|---|
id | string | Unique identifier with the memstore_ prefix |
type | string | Always "memory_store" |
name | string | Memory store name |
description | string | Memory store description |
status | string | Status: "active", "archived", or "deleted" |
entry_count | int64 | Number of memory entries |
total_size | int64 | Total storage size in bytes |
metadata | object | Custom metadata |
created_at | string | Creation time (ISO 8601) |
updated_at | string | Last update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
Notes
- Duplicate store names are allowed and do not conflict.
- A new store starts in
"active" status.
entry_count and total_size start at 0.
See Errors for the full error envelope.