Claude Platform Docs

Casos

Listar casos de revisão
$ ant beta:compliance:review:cases list
GET/v1/compliance/review/cases

Lista os casos de revisão de todas as organizações que a chave de API pode acessar, do mais recente para o mais antigo por padrão. Casos abertos e encerrados são retornados, a menos que status seja definido.

Obter caso de revisão
$ ant beta:compliance:review:cases retrieve
GET/v1/compliance/review/cases/{case_id}

Lê um caso de revisão.

Responder a caso de revisão
$ ant beta:compliance:review:cases respond
POST/v1/compliance/review/cases/{case_id}/respond

Envia sua conclusão sobre um caso de revisão. Uma resposta encerra o caso, e um caso encerrado não pode ser reaberto.

Models
beta_compliance_review_case: object{ type: "compliance_review_case", id, created_at, 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.

beta_compliance_review_case_close_reason: object{ type }

Why a review case closed.

type: "responded" or "window_ended" or "ended_by_anthropic"

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.

One of the following:
"responded"
"window_ended"
"ended_by_anthropic"
beta_compliance_review_case_closed: object{ type: "closed", reason }

Anthropic has stopped waiting for a response. A closed case stays closed.

type: "closed"
reason: object{ type }

Why the case closed. It doesn't change afterwards.

type: "responded" or "window_ended" or "ended_by_anthropic"

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.

One of the following:
"responded"
"window_ended"
"ended_by_anthropic"
beta_compliance_review_case_open: object{ type: "open" }

Anthropic is waiting for a response to the case.

type: "open"
beta_compliance_review_case_order_by: "created_at" or "updated_at"

The field that a list of review cases is sorted by: created_at or updated_at.

"created_at"

Sort by when Anthropic sent the case.

"updated_at"

Sort by when the case last changed.

beta_compliance_review_case_status: BetaComplianceReviewCaseOpen or BetaComplianceReviewCaseClosed

The status of a review case.

beta_compliance_review_case_status_filter: "open" or "closed"

A review case status to filter by: open or closed.

"open"

Cases that Anthropic is waiting for a response to.

"closed"

Cases that Anthropic has stopped waiting on.

beta_compliance_review_determination: "violation" or "no_violation"

A conclusion on flagged messages: violation or no_violation.

"violation"

The messages violated a policy.

"no_violation"

The messages violated no policy.

beta_compliance_review_enforcement_action: object{ type }

An action that Anthropic took on the flagged traffic.

type: string

The kind of action. New values can appear, so accept a value that you don't know.

beta_compliance_review_policy_category: "cyber" or "bio" or "chem" or 16 more

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.

"cyber"
"bio"
"chem"
"radnuc"
"cgw"
"mgw"
"io"
"fraud"
"violent_extremism"
"surveillance"
"human_exploitation"
"self_harm"
"adult_content"
"reasoning_extraction"
"frontier_llm"
"compromised_key"
"benign"
"other"
"undetermined"
beta_compliance_review_transcript: object{ item_id, user_profile_id }

One flagged message of a review case.

item_id: string

The ID of the flagged message.

user_profile_id: string

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.

beta_compliance_review_verdict_param: object{ determination, item_id, policy_category }

Your conclusion on one message of a review case.

beta_compliance_review_violated_policy_category: "cyber" or "bio" or "chem" or 14 more

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.

"cyber"
"bio"
"chem"
"radnuc"
"cgw"
"mgw"
"io"
"fraud"
"violent_extremism"
"surveillance"
"human_exploitation"
"self_harm"
"adult_content"
"reasoning_extraction"
"frontier_llm"
"compromised_key"
"other"