List API Keys changedapi/admin/api_keys/list
Nearest release: v2.1.250, published 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+65added
Lines−19removed
From line
66
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits5to this page, all time
The whole hunk
from line 66, old and new numbered
/
from line 66
6666
6767 ID of the actor that created the object.
6868
69 - `type: string`
69 - `type: "service_account" or "user"`
7070
7171 Type of the actor that created the object.
7272
73 - `"service_account"`
74
75 - `"user"`
76
7377 - `expires_at: string or null`
7478
7579 RFC 3339 datetime string indicating when the API Key expires, or `null` if it never expires.
from line 88
8488
8589 Partially redacted hint for the API key.
8690
87 - `principal: object or null`
91 - `principal: object or object or null`
8892
89 The ID and type of the principal the API key acts as, or `null` if the key is not bound to a principal.
93 The principal the API key acts as (a User or a Service Account), or `null` if the API key is not bound to a principal.
9094
91 - `id: string`
95 - `UserActor object`
9296
93 ID of the principal the API key acts as: a User ID (`user_...`) when the type is `user`, or a Service Account ID (`svac_...`) when the type is `service_account`.
97 - `type: "user_actor"`
9498
95 - `type: "service_account" or "user"`
99 Principal type. Always `"user_actor"` for a User.
96100
97 Type of the principal the API key acts as.
101 default: user_actor
98102
99 - `"service_account"`
103 - `user_id: string`
100104
101 - `"user"`
105 ID of the User the API key acts as.
102106
107 - `ServiceAccountActor object`
108
109 - `service_account_id: string`
110
111 ID of the Service Account the API key acts as.
112
113 - `type: "service_account_actor"`
114
115 Principal type. Always `"service_account_actor"` for a Service Account.
116
117 default: service_account_actor
118
119 - `scope: object or object`
120
121 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.
122
123 - `Organization object`
124
125 - `type: "organization"`
126
127 Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope.
128
129 default: organization
130
131 - `Workspace object`
132
133 - `type: "workspace"`
134
135 Scope type. Always `"workspace"`: the API key belongs to one Workspace.
136
137 default: workspace
138
139 - `workspace_id: string`
140
141 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.
142
103143 - `status: "active" or "archived" or "expired" or "inactive"`
104144
105145 Status of the API key.
from line 162
122162
123163 - `workspace_id: string or null`
124164
125 ID of the Workspace associated with the API key, or `null` if the API key belongs to the default Workspace.
165 **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.
126166
167 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.
168
127169- `first_id: string or null`
128170
129171 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 202
160202 "name": "Developer Key",
161203 "partial_key_hint": "sk-ant-api03-R2D...igAA",
162204 "principal": {
163 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
164 "type": "user"
205 "type": "user_actor",
206 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
207 },
208 "scope": {
209 "type": "workspace",
210 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
165211 },
166212 "status": "active",
167213 "type": "api_key",
No line in this hunk matches that.