POST /api/v1/cloud/memory_stores
Creates a Memory Store and returns a Memory Store object.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Content-Type | Yes | application/json |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Human-readable name, 1–255 characters, no control characters |
description | string | No | Free-text description, up to 1024 characters. Included in the agent's system prompt when the store is attached |
metadata | object | No | Key-value tags. Up to 16 pairs; keys 1–64 characters; values up to 512 characters |
Example request
Example response
Error codes
| HTTP | type | Trigger |
|---|---|---|
| 400 | invalid_request_error | name is missing or invalid, or metadata is invalid |
| 401 | authentication_error | Missing or invalid authentication token |