Claude Platform Docs

アイテム

レビューアイテムを取得
beta.compliance.review.items.retrieve(item_id, **kwargs) -> BetaComplianceReviewItem
GET/v1/compliance/review/items/{item_id}

Anthropicが組織のレビュー対象としてフラグを付けた1件のメッセージを、そのリクエストとレスポンスとともに読み取ります。

Models
One of the following:
class BetaComplianceReviewAPIActor { type: :api_actor, api_key_id }

An API key.

type: :api_actor
api_key_id: String

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

class BetaComplianceReviewContentNotCaptured { type: :not_captured }

No copy of the message was stored.

type: :not_captured
type BetaComplianceReviewContentUnavailableReason = BetaComplianceReviewContentNotCaptured | BetaComplianceReviewStoredCopyUnavailable

Why a message's content isn't returned.

One of the following:
class BetaComplianceReviewContentNotCaptured { type: :not_captured }

No copy of the message was stored.

type: :not_captured
class BetaComplianceReviewStoredCopyUnavailable { type: :stored_copy_unavailable }

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

type: :stored_copy_unavailable
class BetaComplianceReviewCreateMessageContent { type: :create_message, request, response }

A request to create a message, and its response.

type: :create_message
request: Hash[Symbol, untyped]

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.

response: BetaMessage { type: :message, id, container, 10 more } | nil

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 BetaComplianceReviewMessageDetails { type: :message, content, content_unavailable_reason, model }

A message sent to Claude.

class BetaComplianceReviewSafeguardsReason { type: :safeguards_review }

Anthropic flagged the item for your organization to review.

type: :safeguards_review
class BetaComplianceReviewServiceAccountActor { type: :service_account_actor, service_account_id }

A service account.

type: :service_account_actor
service_account_id: String

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.

type: :stored_copy_unavailable
class BetaComplianceReviewUserActor { type: :user_actor, email_address, user_id }

A signed-in user.

type: :user_actor
email_address: String | nil

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

user_id: String

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