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

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_id} ID を指定して単一のメモリエントリの完全情報(内容を含む)を取得します。

パスパラメータ

パラメータ必須説明
memory_store_idstringはいMemory Store ID(memstore_ プレフィックス)
memory_idstringはいメモリエントリ ID(mem_ プレフィックス)

ヘッダー

ヘッダー必須
AuthorizationBearer $QODER_PATはい

リクエスト例

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

レスポンス例

HTTP 200 OK 完全な MemoryEntry オブジェクト(content を含む)を返します。
{
  "id": "mem_019e3bb965a671fca51bde1cf8d87de0",
  "type": "memory",
  "store_id": "memstore_019e3bb93b7074f9a5130d39ddcca90f",
  "path": "test/note.md",
  "content": "Hello world",
  "size": 11,
  "content_sha256": "64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c",
  "version": 1,
  "metadata": {},
  "created_at": "2026-05-18T15:34:26.494349Z",
  "updated_at": "2026-05-18T15:34:26.494349Z"
}

レスポンスフィールド

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

エラーレスポンス

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

注意事項

  • この API は content フィールドを返します(一覧 API との違い)
  • 最新バージョンの完全な内容を取得するために使用できます