Claude Platform Docs

Review

Models
type BetaComplianceReviewOrder string

A sort direction: asc or desc.

One of the following:
const BetaComplianceReviewOrderAsc BetaComplianceReviewOrder = "asc"

Oldest first.

const BetaComplianceReviewOrderDesc BetaComplianceReviewOrder = "desc"

Newest first.

ReviewCases

List Review Cases
client.Beta.Compliance.Review.Cases.List(ctx, params) (*PageCursor[BetaComplianceReviewCase], error)
GET/v1/compliance/review/cases

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
client.Beta.Compliance.Review.Cases.Get(ctx, caseID, query) (*BetaComplianceReviewCase, error)
GET/v1/compliance/review/cases/{case_id}

Read one review case.

Respond to Review Case
client.Beta.Compliance.Review.Cases.Respond(ctx, caseID, params) (*BetaComplianceReviewCase, error)
POST/v1/compliance/review/cases/{case_id}/respond

Send your conclusion on a review case. A response closes the case, and a closed case can't be reopened.

ReviewNotices

List Review Notices
client.Beta.Compliance.Review.Notices.List(ctx, params) (*PageCursor[BetaComplianceReviewNotice], error)
GET/v1/compliance/review/notices

List Anthropic's notices to the organizations that the API key can reach, newest first by default. A notice is returned only if the API key can read every case in its case_ids.

ReviewItems

Get Review Item
client.Beta.Compliance.Review.Items.Get(ctx, itemID, query) (*BetaComplianceReviewItem, error)
GET/v1/compliance/review/items/{item_id}

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