List API Keys changedapi/beta/organization/api_keys/list
Nearest release: v2.1.268, published under an hour 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+27added
Lines−22removed
From line
1
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits7to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: List API Keys
3url: https://platform.claude.com/docs/en/api/beta/organization/api_keys/list
4---
5
16# List API Keys
27
38**GET** `/v1/organizations/api_keys`
from line 51
4651
4752- `data: array of BetaAPIKey`
4853
54 - `type: "api_key"`
55
56 Object type.
57
58 For API Keys, this is always `"api_key"`.
59
60 default: api_key
61
4962 - `id: string`
5063
5164 ID of the API key.
from line 75
6275 creator is not recorded (legacy, workload-identity-federated, or
6376 system-created keys).
6477
65 - `id: string`
66
67 ID of the actor that created the object.
68
6978 - `type: "service_account" or "user"`
7079
7180 Type of the actor that created the object.
from line 83
7483
7584 - `"user"`
7685
86 - `id: string`
87
88 ID of the actor that created the object.
89
7790 - `expires_at: string or null`
7891
7992 RFC 3339 datetime string indicating when the API Key expires, or `null` if it never expires.
from line 119
106119
107120 - `BetaAPIKeyServiceAccountActor object`
108121
109 - `service_account_id: string`
110
111 ID of the Service Account the API key acts as.
112
113122 - `type: "service_account_actor"`
114123
115124 Principal type. Always `"service_account_actor"` for a Service Account.
from line 125
116125
117126 default: service_account_actor
118127
128 - `service_account_id: string`
129
130 ID of the Service Account the API key acts as.
131
119132 - `scope: BetaAPIKeyOrganizationScope or BetaAPIKeyWorkspaceScope`
120133
121134 Where the API key belongs: its Workspace (`{"type": "workspace", "workspace_id": "wrkspc_..."}`, with the Workspace's real ID even when it is the organization's default Workspace), or the organization (`{"type": "organization"}`) for a principal-bound API key that has no Workspace.
from line 164
151164 - `"expired"`
152165
153166 - `"inactive"`
154
155 - `type: "api_key"`
156
157 Object type.
158
159 For API Keys, this is always `"api_key"`.
160
161 default: api_key
162167
163168 - `workspace_id: string or null`
164169
No line in this hunk matches that.