Kasus
Daftar Kasus Tinjauan
client.Beta.Compliance.Review.Cases.List(ctx, params) (*PageCursor[BetaComplianceReviewCase], error)Cantumkan kasus tinjauan dari setiap organisasi yang dapat dijangkau oleh kunci API, diurutkan dari yang terbaru secara default. Kasus terbuka maupun tertutup dikembalikan kecuali status diatur.
Dapatkan Kasus Tinjauan
client.Beta.Compliance.Review.Cases.Get(ctx, caseID, query) (*BetaComplianceReviewCase, error)Baca satu kasus tinjauan.
Tanggapi Kasus Tinjauan
client.Beta.Compliance.Review.Cases.Respond(ctx, caseID, params) (*BetaComplianceReviewCase, error)Kirimkan kesimpulan Anda atas kasus tinjauan. Respons akan menutup kasus, dan kasus yang sudah ditutup tidak dapat dibuka kembali.
Models
type BetaComplianceReviewCase struct { 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.
type BetaComplianceReviewCaseCloseReason struct { Type }Why a review case closed.
Why a review case closed.
Type BetaComplianceReviewCaseCloseReasonTyperesponded 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.
type BetaComplianceReviewCaseClosed struct { 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 BetaComplianceReviewCaseCloseReasonTyperesponded 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.
type BetaComplianceReviewCaseOpen struct { Type: "open" }Anthropic is waiting for a response to the case.
Anthropic is waiting for a response to the case.
type BetaComplianceReviewCaseOrderBy stringThe 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.
type BetaComplianceReviewCaseStatusUnion interface{…}The status of a review case.
The status of a review case.
type BetaComplianceReviewCaseOpen struct { Type: "open" }Anthropic is waiting for a response to the case.
Anthropic is waiting for a response to the case.
type BetaComplianceReviewCaseClosed struct { 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 BetaComplianceReviewCaseCloseReasonTyperesponded 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.
type BetaComplianceReviewCaseStatusFilter stringA 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.
type BetaComplianceReviewDetermination stringA 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.
type BetaComplianceReviewEnforcementAction struct { 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.
type BetaComplianceReviewPolicyCategory stringAnthropic'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.
type BetaComplianceReviewTranscript struct { 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.
type BetaComplianceReviewVerdictParam struct { Determination; ItemID; PolicyCategory }Your conclusion on one message of a review case.
Your conclusion on one message of a review case.
Determination BetaComplianceReviewDeterminationYour 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.
PolicyCategory BetaComplianceReviewViolatedPolicyCategory OptionalThe 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.
type BetaComplianceReviewViolatedPolicyCategory stringA 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.