Claude Platform Docs

Items

Get Review Item
BetaComplianceReviewItem Beta.Compliance.Review.Items.Retrieve(parameters, cancellationToken = default)
GET/v1/compliance/review/items/{item_id}

Read one message that Anthropic flagged for your organization to review, with its request and response.

Models
class BetaComplianceReviewActor: union

Who sent a message.

class BetaComplianceReviewApiActor { Type = "api_actor"; ApiKeyID; }

An API key.

JsonElement Type = "api_actor"
required string ApiKeyID

The ID of the API key (apikey_...).

class BetaComplianceReviewContentNotCaptured { Type = "not_captured"; }

No copy of the message was stored.

JsonElement Type = "not_captured"
class BetaComplianceReviewContentUnavailableReason: union

Why a message's content isn't returned.

class BetaComplianceReviewContentNotCaptured { Type = "not_captured"; }

No copy of the message was stored.

JsonElement Type = "not_captured"
class BetaComplianceReviewStoredCopyUnavailable { Type = "stored_copy_unavailable"; }

A copy of the message was stored and can't be returned.

JsonElement Type = "stored_copy_unavailable"
class BetaComplianceReviewCreateMessageContent { Type = "create_message"; Request; Response; }

A request to create a message, and its response.

JsonElement Type = "create_message"
required IReadOnlyDictionary<string, JsonElement> Request

The POST /v1/messages request body, without thinking blocks or unpublished fields. For a user's message from an Anthropic app, such as Claude Code, system is a placeholder.

required BetaMessage? Response

The model's Message, without thinking blocks or unpublished fields. Null when no response was stored, for example because the client disconnected.

class BetaComplianceReviewItem { Type = "compliance_review_item"; ID; Actor; /* 7 more */ }

One stored item that the organization it belongs to can read for review.

class BetaComplianceReviewItemDetails: union

What is particular to one kind of review item.

class BetaComplianceReviewMessageDetails { Type = "message"; Content; ContentUnavailableReason; Model; }

A message sent to Claude.

class BetaComplianceReviewMessageContent: union

The stored copy of one call.

class BetaComplianceReviewCreateMessageContent { Type = "create_message"; Request; Response; }

A request to create a message, and its response.

JsonElement Type = "create_message"
required IReadOnlyDictionary<string, JsonElement> Request

The POST /v1/messages request body, without thinking blocks or unpublished fields. For a user's message from an Anthropic app, such as Claude Code, system is a placeholder.

required BetaMessage? Response

The model's Message, without thinking blocks or unpublished fields. Null when no response was stored, for example because the client disconnected.

class BetaComplianceReviewMessageDetails { Type = "message"; Content; ContentUnavailableReason; Model; }

A message sent to Claude.

class BetaComplianceReviewReadReason: union

Why a review item is readable.

class BetaComplianceReviewSafeguardsReason { Type = "safeguards_review"; }

Anthropic flagged the item for your organization to review.

JsonElement Type = "safeguards_review"
class BetaComplianceReviewSafeguardsReason { Type = "safeguards_review"; }

Anthropic flagged the item for your organization to review.

JsonElement Type = "safeguards_review"
class BetaComplianceReviewServiceAccountActor { Type = "service_account_actor"; ServiceAccountID; }

A service account.

JsonElement Type = "service_account_actor"
required string ServiceAccountID

The ID of the service account (svac_...).

class BetaComplianceReviewStoredCopyUnavailable { Type = "stored_copy_unavailable"; }

A copy of the message was stored and can't be returned.

JsonElement Type = "stored_copy_unavailable"
class BetaComplianceReviewUserActor { Type = "user_actor"; EmailAddress; UserID; }

A signed-in user.

JsonElement Type = "user_actor"
required string? EmailAddress

The user's email address. Set only for a current member of an organization that the API key can read.

required string UserID

The ID of the user (user_...).