Skip to main content
POST
Redact a revision

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required
memoryId
string
required
revisionId
string
required

Response

The redacted revision

id
string
seq
integer
op
enum<string>
Available options:
save,
restore
restoredFromSeq
integer | null
title
string | null
description
string | null
content
string

Full content on the single-revision read; a preview on the list (see contentTruncated).

contentTruncated
boolean

List reads only. True when content was clipped.

authorKind
enum<string>
Available options:
user,
agent
authorUserId
string | null
authorEmail
string | null
conversationId
string | null
turnId
string | null
redactedAt
string<date-time> | null
redactedByUserId
string | null
createdAt
string<date-time>