Cases
List Review Cases
CaseListPage beta().compliance().review().cases().list(params = CaseListParams.none(), requestOptions = RequestOptions.none())List the review cases of every organization that the API key can reach, newest first by default. Both open and closed cases are returned unless status is set.
Get Review Case
BetaComplianceReviewCase beta().compliance().review().cases().retrieve(params = CaseRetrieveParams.none(), requestOptions = RequestOptions.none())Read one review case.
Respond to Review Case
BetaComplianceReviewCase beta().compliance().review().cases().respond(params, requestOptions = RequestOptions.none())Send your conclusion on a review case. A response closes the case, and a closed case can't be reopened.
Models
class BetaComplianceReviewCase { type = "compliance_review_case"; id; createdAt; /* 7 more */ }A record of an organization's messages that Anthropic flagged and sent to the organization to review. It lists the messages by ID and doesn't include their content.
A record of an organization's messages that Anthropic flagged and sent to the organization to review. It lists the messages by ID and doesn't include their content.
class BetaComplianceReviewCaseCloseReason { type; }Why a review case closed.
Why a review case closed.
Type typeresponded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
responded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
class BetaComplianceReviewCaseClosed { type = "closed"; reason; }Anthropic has stopped waiting for a response. A closed case stays closed.
Anthropic has stopped waiting for a response. A closed case stays closed.
Why the case closed. It doesn't change afterwards.
Why the case closed. It doesn't change afterwards.
Type typeresponded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
responded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
class BetaComplianceReviewCaseOpen { type = "open"; }Anthropic is waiting for a response to the case.
Anthropic is waiting for a response to the case.
enum BetaComplianceReviewCaseOrderByThe field that a list of review cases is sorted by: created_at or updated_at.
The field that a list of review cases is sorted by: created_at or updated_at.
Sort by when Anthropic sent the case.
Sort by when the case last changed.
class BetaComplianceReviewCaseStatus: unionThe status of a review case.
The status of a review case.
class BetaComplianceReviewCaseOpen { type = "open"; }Anthropic is waiting for a response to the case.
Anthropic is waiting for a response to the case.
class BetaComplianceReviewCaseClosed { type = "closed"; reason; }Anthropic has stopped waiting for a response. A closed case stays closed.
Anthropic has stopped waiting for a response. A closed case stays closed.
Why the case closed. It doesn't change afterwards.
Why the case closed. It doesn't change afterwards.
Type typeresponded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
responded means that Anthropic recorded a response. window_ended means that the time to respond ended with no response. ended_by_anthropic means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.
enum BetaComplianceReviewCaseStatusFilterA review case status to filter by: open or closed.
A review case status to filter by: open or closed.
Cases that Anthropic is waiting for a response to.
Cases that Anthropic has stopped waiting on.
enum BetaComplianceReviewDeterminationA conclusion on flagged messages: violation or no_violation.
A conclusion on flagged messages: violation or no_violation.
The messages violated a policy.
The messages violated no policy.
class BetaComplianceReviewEnforcementAction { type; }An action that Anthropic took on the flagged traffic.
An action that Anthropic took on the flagged traffic.
The kind of action. New values can appear, so accept a value that you don't know.
enum BetaComplianceReviewPolicyCategoryAnthropic's label for why messages were flagged. radnuc is radiological or nuclear weapons, cgw is conventional weapons, mgw is military-grade weapons systems, io is influence operations, and frontier_llm is use of the model to accelerate frontier AI research and development in restricted ways. benign means reviewed and found within acceptable use, and undetermined means that the reviewed records do not support a category judgment. New values can appear, so accept a value that you don't know.
Anthropic's label for why messages were flagged. radnuc is radiological or nuclear weapons, cgw is conventional weapons, mgw is military-grade weapons systems, io is influence operations, and frontier_llm is use of the model to accelerate frontier AI research and development in restricted ways. benign means reviewed and found within acceptable use, and undetermined means that the reviewed records do not support a category judgment. New values can appear, so accept a value that you don't know.
class BetaComplianceReviewTranscript { itemId; userProfileId; }One flagged message of a review case.
One flagged message of a review case.
The ID of the flagged message.
The ID of the user profile that the message belongs to. Null when the message belongs to none, or when the profile can no longer be looked up.
class BetaComplianceReviewVerdictParam { determination; itemId; policyCategory; }Your conclusion on one message of a review case.
Your conclusion on one message of a review case.
BetaComplianceReviewDetermination determinationYour conclusion on this message.
Your conclusion on this message.
The messages violated a policy.
The messages violated no policy.
The item_id of one of the case's transcripts.
Optional<BetaComplianceReviewViolatedPolicyCategory> policyCategoryThe policy category that this message violated, from the values that the request's policy_categories accepts. Optional with violation. Leave it out with no_violation.
The policy category that this message violated, from the values that the request's policy_categories accepts. Optional with violation. Leave it out with no_violation.
enum BetaComplianceReviewViolatedPolicyCategoryA policy category that you can report as violated. radnuc is radiological or nuclear weapons, cgw is conventional weapons, mgw is military-grade weapons systems, io is influence operations, and frontier_llm is use of the model to accelerate frontier AI research and development in restricted ways.
A policy category that you can report as violated. radnuc is radiological or nuclear weapons, cgw is conventional weapons, mgw is military-grade weapons systems, io is influence operations, and frontier_llm is use of the model to accelerate frontier AI research and development in restricted ways.