Skip to main content
Memory Stores

Identity の Memory Store マウント一覧

Identity と Template の Memory Store マウントを一覧取得します。

(identity, template) に対するすべての active な Memory Store マウントを一覧取得します。最初の Session 作成時に自動作成されるデフォルト Store も含まれます。 システム管理のデフォルト Store が常に先頭で、access=read_write を持つ唯一のマウントです。明示的なマウントは作成時刻の昇順で続き、すべて read_only です。 マウント数は、明示的な 10 個とデフォルト枠に制限されます。そのため、この API はページングパラメータを受け付けず、has_more は常に false です。

パス

GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/memory_stores

ヘッダー

ヘッダー必須説明
AuthorizationはいBearer <PAT, admin SAT, or SAT for this Identity>
Identity レベルの Service Account Token は自身の Identity のみ照会できます。別の Identity を照会すると 403 が返されます。

パスパラメータ

パラメータ必須説明
identity_idstringはいIdentity ID(idn_...)。
template_idstringはいTemplate ID(tmpl_...)。

リクエスト例

curl -X GET "https://api.qoder.com/api/v1/forward/identities/idn_63ee28747a35cff93771c491/templates/tmpl_eb3377fb74ad413e17b3d755/memory_stores" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

レスポンス例

HTTP 200 OK
{
  "data": [
    {
      "memory_store_id": "memstore_00mc7mtpughs0h0b7vll",
      "identity_id": "idn_63ee28747a35cff93771c491",
      "template_id": "tmpl_eb3377fb74ad413e17b3d755",
      "access": "read_write",
      "system_managed": true,
      "name": "System Default Memory",
      "status": "active",
      "entry_count": 3,
      "created_at": "2026-08-14T09:50:14Z"
    },
    {
      "memory_store_id": "memstore_00mc7mukn7lkxr454tjd",
      "identity_id": "idn_63ee28747a35cff93771c491",
      "template_id": "tmpl_eb3377fb74ad413e17b3d755",
      "access": "read_only",
      "system_managed": false,
      "name": "team-a",
      "status": "active",
      "entry_count": 12,
      "created_at": "2026-08-14T10:00:00Z"
    }
  ],
  "first_id": "memstore_00mc7mtpughs0h0b7vll",
  "last_id": "memstore_00mc7mukn7lkxr454tjd",
  "has_more": false
}

空リストのレスポンス

Session がまだ作成されておらず、明示的な Store もマウントされていない場合は空リストを返します。システム管理のデフォルト Store は、最初の Session の作成時に自動作成されます。
{
  "data": [],
  "first_id": null,
  "last_id": null,
  "has_more": false
}

レスポンスフィールド

フィールド説明
dataarrayMemory Store マウントオブジェクトの配列。
first_idstring/null現在のページの先頭マウントの memory_store_id
last_idstring/null現在のページの末尾マウントの memory_store_id
has_morebooleanマウント数に上限があるため常に false

エラー

HTTPType発生条件
400invalid_request_errorパスパラメータが無効です。
401authentication_error認証トークンがないか無効です。
403permission_errorIdentity レベルの SAT が別の Identity を照会しようとしました。
404not_found_errorIdentity または Template が存在しないか参照できません。
500/502/503api_errorForward または依存サービスでエラーが発生しました。
Identity の Memory Store マウント一覧 - Qoder