Skip to content
中文

Get Memory

GET/anthropic/v1/memory_stores/{memory_store_id}/memories/{memory_id}○ Unsupported

Request parameters

  • memory_store_idstringrequired

    path: Memory store ID (path or query parameter).

  • memory_idstringrequired

    path: Memory ID (path or query parameter).

  • memory_store_idstringrequired

    query: Memory store ID (path or query parameter).

  • viewstringoptional

    query: Which projection to return: basic omits content, full includes it.

Returns

501 This endpoint is not implemented yet; calling it returns the response below:

The platform does not provide a persistent memory store that agents can read and write yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.

Errors follow the Claude Managed Agents format — see error codes

Request

curl
curl https://api.deepraxis.com/anthropic/v1/memory_stores/memory_store_123/memories/memory_123 \
  -H "x-api-key: $PRAXIS_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: managed-agents-2026-04-01"
Python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.deepraxis.com/anthropic",
    api_key="$PRAXIS_API_KEY",
)

# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.memory_stores.memories.retrieve("memory_123", {"memory_store_id": "memory_store_123"})
print(result)
TypeScript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://api.deepraxis.com/anthropic",
  apiKey: "$PRAXIS_API_KEY",
});

// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.memoryStores.memories.retrieve("memory_123", { memory_store_id: "memory_store_123" });
console.log(result);

Response 501

{
  "type": "error",
  "error": {
    "type": "not_implemented_error",
    "message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (GET /v1/memory_stores/{memory_store_id}/memories/{memory_id}); see the docs for the supported subset."
  },
  "request_id": "1d22c17e-b7ee-42f2-ad30-af6fe85f82e9"
}

Response

HTTP 200

Successful response

application/json

Name Type Description
id string Unique identifier for this memory (a mem_... value). Stable across renames; use this ID, not the path, to read, update, or delete the memory.
content_sha256 string Lowercase hex SHA-256 digest of the UTF-8 content bytes (64 characters). The server applies no normalization, so clients can compute the same hash locally for staleness checks and as the value for a content_sha256 precondition on update. Always populated, regardless of view.
content_size_bytes number Size of content in bytes (the UTF-8 plaintext length). Always populated, regardless of view.
created_at string A timestamp in RFC 3339 format
memory_store_id string ID of the memory store this memory belongs to (a memstore_... value).
memory_version_id string ID of the memory_version representing this memory's current content (a memver_... value). This is the authoritative head pointer; memory_version objects do not carry an is_latest flag, so compare against this field instead. Enumerate the history via List memory versions.
path string Hierarchical path of the memory within the store, e.g. /projects/foo/notes.md. Always starts with /. Paths are case-sensitive and unique within a store. Maximum 1,024 bytes.
type string
updated_at string A timestamp in RFC 3339 format
content null | string The memory's UTF-8 text content. Populated when view=full; null when view=basic. Maximum 100 kB (102,400 bytes).