List API Keys changedapi/organization/api_keys/list
Nearest release: v2.1.309, published 2 hours after 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+4added
Lines−11removed
From line
159
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 159, old and new numbered
/
from line 159
159159
160160 - `workspace_id: string`
161161
162 ID of the Workspace the API key belongs to. Unlike the deprecated top-level `workspace_id`, this is the Workspace's real ID even for the organization's default Workspace.
162 ID of the Workspace the API key belongs to, including when it is the organization's default Workspace.
163163
164164 - `status: "active" or "archived" or "expired" or "inactive"`
165165
from line 173
173173
174174 - `"inactive"`
175175
176 - `workspace_id: string or null`
177
178 **Deprecated**: Use `scope` instead. `workspace_id` is `null` both for an API key in the default Workspace and for a principal-bound API key that has no Workspace.
179
180 Deprecated: use `scope` instead. ID of the Workspace associated with the API key, or `null` if the API key belongs to the default Workspace. Also `null` for a principal-bound API key that has no Workspace; `scope` tells the two apart.
181
182176- `first_id: string or null`
183177
184178 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 189
195189
196190```bash
197191curl https://api.anthropic.com/v1/organizations/api_keys \
198 -H 'anthropic-version: 2023-06-01' \
199 -H "X-Api-Key: $ANTHROPIC_API_KEY"
192 -H 'anthropic-version: 2026-10-21' \
193 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
200194```
201195
202196### Response (200)
from line 217
223217 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
224218 },
225219 "status": "active",
226 "type": "api_key",
227 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
220 "type": "api_key"
228221 }
229222 ],
230223 "first_id": "first_id",
No line in this hunk matches that.