검토 통지 목록 조회
GET/v1/compliance/review/notices
API 키가 접근할 수 있는 조직에 대한 Anthropic의 통지를 나열하며, 기본적으로 최신순으로 정렬됩니다. 통지는 API 키가 해당 case_ids의 모든 케이스를 읽을 수 있는 경우에만 반환됩니다.
폴링하려면 읽은 가장 큰 created_at 값을 저장하고, 이를 created_at에 대한 이상(at-or-after) 필터로 보내세요. 모든 페이지를 읽고, id로 결과를 대조한 다음, 마지막 페이지 이후에 새로운 최댓값을 저장하세요.
read:compliance_review_cases 범위를 가진 Admin API 키로 이 엔드포인트를 호출할 수 있습니다.
Parameters
Returns
검토 통지 목록 조회
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
page = anthropic.beta.compliance.review.notices.list
puts(page)Response 200
{
"data": [
{
"id": "id",
"case_ids": [
"string"
],
"created_at": "2019-12-27T18:11:19.117Z",
"kind": {
"type": "response_requested"
},
"message": "message",
"organization_id": "organization_id",
"respond_by": "2019-12-27T18:11:19.117Z",
"type": "compliance_review_notice"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"id": "id",
"case_ids": [
"string"
],
"created_at": "2019-12-27T18:11:19.117Z",
"kind": {
"type": "response_requested"
},
"message": "message",
"organization_id": "organization_id",
"respond_by": "2019-12-27T18:11:19.117Z",
"type": "compliance_review_notice"
}
],
"next_page": "next_page"
}