Claude Platform Docs

通知

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

列出 Anthropic 发给该 API 密钥可访问的组织的通知,默认按最新优先排序。仅当该 API 密钥可以读取通知 case_ids 中的每个案例时,才会返回该通知。

Models
type BetaComplianceReviewNotice struct { Type: "compliance_review_notice"; ID; CaseIDs; /* 5 more */ }

A message from Anthropic to an organization about its review cases or about the organization as a whole, such as a request to respond by a date, a warning, or a question. A notice doesn't change after Anthropic sends it.

type BetaComplianceReviewNoticeKind struct { Type }

The kind of a review notice.

Type BetaComplianceReviewNoticeKindType

response_requested asks you to respond to the cases in case_ids. For warning and question, message explains how to answer if an answer is needed. New values can appear, so accept a value that you don't know.

One of the following:
const BetaComplianceReviewNoticeKindTypeResponseRequested BetaComplianceReviewNoticeKindType = "response_requested"
const BetaComplianceReviewNoticeKindTypeWarning BetaComplianceReviewNoticeKindType = "warning"
const BetaComplianceReviewNoticeKindTypeQuestion BetaComplianceReviewNoticeKindType = "question"