Follow Discord
Sweep 23 Nov 2026 · 18:46Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial
Writing the changelog v2.1.331 rate entries · 3/5
One change · api

safety-cases-api changedmanage-claude/enterprise-frontier-safeguards/safety-cases-api

Nearest release: v2.1.331, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+18added
Lines−18removed
From line 33 where the diff opens
First seen 23 Nov 2026 this site's first read of the page
Recorded edits2to this page, all time

### Poll for Safety Notices ### Poll for notices

The whole hunk

from line 33, old and new numbered
/
lines
from line 33
3333 
3434| Scope | What it allows |
3535| ----- | ----- |
36| `read:compliance_review_cases` | List and read Safety Cases and notices, which never hold a message’s prompt or response. |
36| `read:compliance_review_cases` | List and read Safety Cases and Safety Notices, which never hold a message’s prompt or response. |
3737| `read:compliance_review_items` | Read the prompt, response, and sender of a flagged message. |
3838| `write:compliance_review_cases` | Respond to a Safety Case. |
3939 
4040Other keys can also read this data:
4141 
42* **Safety Cases and notices:** Where the API is available, keys with [`read:org_audit`](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#choose-scopes-for-a-claude-enterprise-key) can read only their own organization’s Safety Cases and notices. They can do this only if that organization has a parent organization.
42* **Safety Cases and Safety Notices:** Where the API is available, keys with [`read:org_audit`](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#choose-scopes-for-a-claude-enterprise-key) can read only their own organization’s Safety Cases and Safety Notices. They can do this only if that organization has a parent organization.
4343* **Flagged messages:** In some organizations, keys with `read:org_audit` can also read the flagged messages, and so can keys with `read:compliance_user_data`. Some of these keys reach the flagged messages of every organization under their parent organization.
4444 
4545Send the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header on every request. A request without it can return a 400 error. After a 429 or 503 error, retry the request later.
from line 86
8686}
8787```
8888 
89This request returns Safety Cases that opened, closed, or got a notice since that time. To read one Safety Case, send `GET /v1/compliance/review/cases/{case_id}`.
89This request returns Safety Cases that opened, closed, or got a Safety Notice since that time. To read one Safety Case, send `GET /v1/compliance/review/cases/{case_id}`.
9090 
9191Follow these recommendations when you build a polling job:
9292 
9393* **Read every page.** To read the next page, send `next_page` as `page` until the request returns `next_page` as `null`. A page can be short or empty while `next_page` is set.
9494* **Don’t keep `next_page` between runs.** It works only within one list result, and the API refuses it with a 400 error if the filters or the order differ.
95* **Update your copy of each Safety Case by `id`.** The API also returns Safety Cases slightly older than the time you send, and returns one again when it closes or gets a notice.
96* **Filter on `updated_at`, not `created_at`.** A filter on `created_at` misses a Safety Case that closes or gets a notice after you first read it, and it can miss a new one.
95* **Update your copy of each Safety Case by `id`.** The API also returns Safety Cases slightly older than the time you send, and returns one again when it closes or gets a Safety Notice.
96* **Filter on `updated_at`, not `created_at`.** A filter on `created_at` misses a Safety Case that closes or gets a Safety Notice after you first read it, and it can miss a new one.
9797 
9898A closed Safety Case has `status.type` set to `closed`, and `status.reason.type` says why:
9999 
from line 105
105105 
106106Anthropic can add fields, `policy_categories` values, `enforcement_action` types, and close reasons, so accept the ones you don’t know.
107107 
108### Poll for notices
108### Poll for Safety Notices
109109 
110A notice is a message from Anthropic about one or more of your Safety Cases or about your organization as a whole. It can ask for an answer by a set time. Its `kind.type` says what kind it is:
110A Safety Notice is a message from Anthropic about one or more of your Safety Cases or about your organization as a whole. It can ask for an answer by a set time. Its `kind.type` says what kind it is:
111111 
112112| `kind.type` | What it is |
113113| ----- | ----- |
from line 115
115115| `warning` | A warning. |
116116| `question` | A question. To answer, contact your Anthropic account team. |
117117 
118Anthropic can add other kinds, so accept the ones you don’t know. Don’t rely on a notice to remind you of an open Safety Case: one with no file in your Case bucket gets no automatic reminder.
118Anthropic can add other kinds, so accept the ones you don’t know. Don’t rely on a Safety Notice to remind you of an open Safety Case: one with no file in your Case bucket gets no automatic reminder.
119119 
120To read notices, poll `GET /v1/compliance/review/notices`:
120To read Safety Notices, poll `GET /v1/compliance/review/notices`:
121121 
122* **Send `created_at[gte]` and `order=asc`,** and store the largest `created_at` you have read. Notices have no `updated_at` or `order_by`, and they never change.
122* **Send `created_at[gte]` and `order=asc`,** and store the largest `created_at` you have read. Safety Notices have no `updated_at` or `order_by`, and they never change.
123123* **Read every page,** as you do for Safety Cases.
124* **Match notices by `id`,** because results can repeat.
124* **Match Safety Notices by `id`,** because results can repeat.
125125 
126A list of notices looks like this:
126A list of Safety Notices looks like this:
127127 
128128```json Response
129129{
from line 143
143143}
144144```
145145 
146`respond_by` is `null` if the notice has no deadline. A [notice file](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-case-files#notice) has the same fields, without `type` and `organization_id`, and with `schema_version`.
146`respond_by` is `null` if the Safety Notice has no deadline. A [Safety Notice file](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-case-files#notice) has the same fields, without `type` and `organization_id`, and with `schema_version`.
147147 
148148### How the fields differ from the file
149149 
from line 155
155155| `transcripts[].user_profile_id` is `null` if there’s none or if the message is more than 28 days old | The key is left out if there’s none |
156156| Not in the API | `schema_version`, `transcripts[].object_key`, `derived_data_object_keys` |
157157| A closed Safety Case always has a `status.reason` | `status.reason` can be `null` |
158| `updated_at` also changes when a notice names the Safety Case | `updated_at` changes only when Anthropic writes the file |
158| `updated_at` also changes when a Safety Notice names the Safety Case | `updated_at` changes only when Anthropic writes the file |
159159| Times with fractions of a second | Times in whole seconds. `created_at` can be slightly earlier. |
160160 
161161## Read a message
Feedback