メインコンテンツへスキップ

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/{memory_store_id}/memories 指定された Memory Store 配下のすべてのメモリエントリ一覧を取得します。ページネーションをサポートします。

パスパラメータ

パラメータ必須説明
memory_store_idstringはいMemory Store ID(memstore_ プレフィックス)

ヘッダー

ヘッダー必須
AuthorizationBearer $QODER_PATはい

クエリパラメータ

パラメータ必須説明
limitintegerいいえ1 ページあたりの返却件数上限
after_idstringいいえカーソルページネーション:この ID 以降のレコードを返す

リクエスト例

curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/memories" \
  -H "Authorization: Bearer $QODER_PAT"

# ページネーション
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/memories?limit=20&after_id=mem_xxx" \
  -H "Authorization: Bearer $QODER_PAT"

レスポンス例

HTTP 200 OK ページネーション一覧オブジェクトを返します。
{
  "data": [
    {
      "id": "mem_019e3bb965a671fca51bde1cf8d87de0",
      "type": "memory",
      "store_id": "memstore_019e3bb93b7074f9a5130d39ddcca90f",
      "path": "test/note.md",
      "size": 11,
      "content_sha256": "64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c",
      "version": 1,
      "metadata": {},
      "created_at": "2026-05-18T15:34:26.494349Z",
      "updated_at": "2026-05-18T15:34:26.494349Z"
    }
  ],
  "first_id": "mem_019e3bb965a671fca51bde1cf8d87de0",
  "last_id": "mem_019e3bb965a671fca51bde1cf8d87de0",
  "has_more": false
}

レスポンスフィールド

フィールド説明
dataarrayMemoryEntry オブジェクト配列(content を含まない)
first_idstring現在ページ先頭レコード ID
last_idstring現在ページ末尾レコード ID
has_morebooleanさらにデータがあるかどうか

一覧内の各レコードフィールド

フィールド説明
idstring一意識別子
typestring固定値 "memory"
store_idstring所属する Store ID
pathstring相対パス
sizeint64内容サイズ(バイト)
content_sha256string内容の SHA-256 ハッシュ
versionint64現在のバージョン番号
metadataobjectカスタムメタデータ
created_atstring作成時刻
updated_atstring最終更新時刻

エラーレスポンス

HTTPtype説明
401TOKEN_INVALID認証トークンが提供されていないまたは無効
404not_found_error指定の Memory Store が存在しない

注意事項

  • 一覧 API は content フィールドを返しません。メタデータのみを返します
  • 内容を取得するには「メモリエントリの取得」 API を使用してください
  • ページネーションロジックは他の一覧 API と同じです:limit + after_id を使用します