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
新しい Memory Store を作成します。
ヘッダー
| ヘッダー | 値 | 必須 |
|---|
| Authorization | Bearer $QODER_PAT | はい |
| Content-Type | application/json | はい |
リクエストボディ
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | ストア名(同名許可) |
description | string | いいえ | ストアの説明 |
リクエスト例
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": "プロジェクトメモストレージ"
}'
レスポンス例
HTTP 201 Created
作成された MemoryStore オブジェクトを返します。
{
"id": "memstore_019e3bb8d50674d9b082b73709c29c87",
"type": "memory_store",
"name": "my-store",
"description": "プロジェクトメモストレージ",
"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"
}
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|
id | string | 一意識別子、memstore_ プレフィックス |
type | string | 固定値 "memory_store" |
name | string | ストア名 |
description | string | ストアの説明 |
status | string | 状態:"active" / "archived" / "deleted" |
entry_count | int64 | メモリエントリ数 |
total_size | int64 | 総ストレージサイズ(バイト) |
metadata | object | カスタムメタデータ |
created_at | string | 作成時刻(ISO 8601) |
updated_at | string | 最終更新時刻(ISO 8601) |
エラーレスポンス
| HTTP | type | 説明 |
|---|
| 401 | TOKEN_INVALID | 認証トークンが提供されていないまたは無効 |
注意事項
- 同名 Memory Store の作成が許可され、競合しません
- 新規作成 Store の初期状態は
"active" です
entry_count と total_size の初期値は 0 です