Cloud and BYOC for Orca Agent Engine are in Private Preview — request an invite
Docs
Memory stores

Memory stores.redact version

POST/v1/memory_stores/{id}/memory_versions/{version_id}/redact
x-api-key<token>

Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.

In: header

Path Parameters

id*string
Match^(?:mems)_[A-Za-z0-9_-]+$
version_id*string
Match^(?:memver)_[A-Za-z0-9_-]+$

Header Parameters

anthropic-beta?string

Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memory_stores/string/memory_versions/string/redact"
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z",  "memory_id": "string",  "memory_store_id": "string",  "operation": "created",  "type": "memory_version",  "content": "string",  "content_sha256": "string",  "content_size_bytes": 0,  "created_by": {    "type": "session_actor",    "session_id": "string"  },  "path": "string",  "redacted_at": "2019-08-24T14:15:22Z",  "redacted_by": {    "type": "session_actor",    "session_id": "string"  }}