List Review Notices
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.
To poll, store the largest created_at you have read, and send it as the at-or-after filter on created_at. Read every page, match results by id, and store the new largest value after the last page.
An Admin API key with the read:compliance_review_cases scope can call this endpoint.
Parameters
Returns
List Review Notices
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.compliance.review.notices.NoticeListPage;
import com.anthropic.models.beta.compliance.review.notices.NoticeListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
NoticeListPage page = client.beta().compliance().review().notices().list();
}
}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"
}