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
using System;
using Anthropic.Models.Beta.Compliance.Review.Notices;
NoticeListParams parameters = new();
var page = await client.Beta.Compliance.Review.Notices.List(parameters);
await foreach (var item in page.Paginate())
{
Console.WriteLine(item);
}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"
}