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_id | string | はい | Memory Store ID(memstore_ プレフィックス) |
memory_id | string | はい | メモリエントリ ID(mem_ プレフィックス) |
ヘッダー
| ヘッダー | 値 | 必須 |
|---|
| Authorization | Bearer $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"
}
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|
id | string | 一意識別子 |
type | string | 固定値 "memory" |
store_id | string | 所属する Store ID |
path | string | 相対パス |
content | string | メモリ内容(完全テキスト) |
size | int64 | 内容サイズ(バイト) |
content_sha256 | string | 内容の SHA-256 ハッシュ |
version | int64 | 現在のバージョン番号 |
metadata | object | カスタムメタデータ |
created_at | string | 作成時刻(ISO 8601) |
updated_at | string | 最終更新時刻(ISO 8601) |
エラーレスポンス
| HTTP | type | 説明 |
|---|
| 401 | TOKEN_INVALID | 認証トークンが提供されていないまたは無効 |
| 404 | not_found_error | 指定の Memory Store またはメモリエントリが存在しない |
注意事項
- この API は
content フィールドを返します(一覧 API との違い)
- 最新バージョンの完全な内容を取得するために使用できます