Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One capture · api

One read of Claude Developer Platform

519 pages moved out of 628 read.

api-20260910T183729Z

Pages moved 519 significant first
Pages read 628 in this capture
Captured 18:37 UTC
Corpus hash 29858da7c2f1 corpus-hash

What this read moved

301–325 of 519

This capture is too large to show at once. Changes 301-325 of 519 are below, significant first; the rest are on the following screens.

api/beta/organization/service_accounts Changed · +69 / -48 lines

from line 1
1---
2title: Service Accounts
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts
4---
5 
16# Service Accounts
27 
38## Create Service Account
from line 29
2429 
2530 - `string`
2631 
27 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
32 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2833 
2934 - `"message-batches-2024-09-24"`
3035 
from line 77
7277 
7378 - `"user-profiles-2026-08-18"`
7479 
80 - `"user-profiles-2026-09-04"`
81 
7582 - `"advisor-tool-2026-03-01"`
7683 
7784 - `"managed-agents-2026-04-01"`
from line 152
145152 A service account is a pure identity: name + org. Authorization lives on
146153 whatever references it (federation rules).
147154 
155 - `type: "service_account"`
156 
157 default: service_account
158 
148159 - `id: string`
149160 
150161 Tagged ID of the service account.
from line 196
185196 
186197 - `"developer"`
187198 
188 - `type: "service_account"`
189 
190 default: service_account
191 
192199 - `updated_at: string`
193200 
194201 When this service account was last updated.
from line 274
267274 
268275 - `string`
269276 
270 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
277 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
271278 
272279 - `"message-batches-2024-09-24"`
273280 
from line 322
315322 
316323 - `"user-profiles-2026-08-18"`
317324 
325 - `"user-profiles-2026-09-04"`
326 
318327 - `"advisor-tool-2026-03-01"`
319328 
320329 - `"managed-agents-2026-04-01"`
from line 370
361370 
362371- `data: array of BetaServiceAccount`
363372 
373 - `type: "service_account"`
374 
375 default: service_account
376 
364377 - `id: string`
365378 
366379 Tagged ID of the service account.
from line 414
401414 
402415 - `"developer"`
403416 
404 - `type: "service_account"`
405 
406 default: service_account
407 
408417 - `updated_at: string`
409418 
410419 When this service account was last updated.
from line 481
472481 
473482 - `string`
474483 
475 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
484 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
476485 
477486 - `"message-batches-2024-09-24"`
478487 
from line 529
520529 
521530 - `"user-profiles-2026-08-18"`
522531 
532 - `"user-profiles-2026-09-04"`
533 
523534 - `"advisor-tool-2026-03-01"`
524535 
525536 - `"managed-agents-2026-04-01"`
from line 582
571582 A service account is a pure identity: name + org. Authorization lives on
572583 whatever references it (federation rules).
573584 
585 - `type: "service_account"`
586 
587 default: service_account
588 
574589 - `id: string`
575590 
576591 Tagged ID of the service account.
from line 626
611626 
612627 - `"developer"`
613628 
614 - `type: "service_account"`
615 
616 default: service_account
617 
618629 - `updated_at: string`
619630 
620631 When this service account was last updated.
from line 689
678689 
679690 - `string`
680691 
681 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
692 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
682693 
683694 - `"message-batches-2024-09-24"`
684695 
from line 737
726737 
727738 - `"user-profiles-2026-08-18"`
728739 
740 - `"user-profiles-2026-09-04"`
741 
729742 - `"advisor-tool-2026-03-01"`
730743 
731744 - `"managed-agents-2026-04-01"`
from line 806
793806 A service account is a pure identity: name + org. Authorization lives on
794807 whatever references it (federation rules).
795808 
809 - `type: "service_account"`
810 
811 default: service_account
812 
796813 - `id: string`
797814 
798815 Tagged ID of the service account.
from line 850
833850 
834851 - `"developer"`
835852 
836 - `type: "service_account"`
837 
838 default: service_account
839 
840853 - `updated_at: string`
841854 
842855 When this service account was last updated.
from line 915
902915 
903916 - `string`
904917 
905 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
918 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
906919 
907920 - `"message-batches-2024-09-24"`
908921 
from line 963
950963 
951964 - `"user-profiles-2026-08-18"`
952965 
966 - `"user-profiles-2026-09-04"`
967 
953968 - `"advisor-tool-2026-03-01"`
954969 
955970 - `"managed-agents-2026-04-01"`
from line 1016
10011016 A service account is a pure identity: name + org. Authorization lives on
10021017 whatever references it (federation rules).
10031018 
1019 - `type: "service_account"`
1020 
1021 default: service_account
1022 
10041023 - `id: string`
10051024 
10061025 Tagged ID of the service account.
from line 1060
10411060 
10421061 - `"developer"`
10431062 
1044 - `type: "service_account"`
1045 
1046 default: service_account
1047 
10481063 - `updated_at: string`
10491064 
10501065 When this service account was last updated.
from line 1108
10931108 A service account is a pure identity: name + org. Authorization lives on
10941109 whatever references it (federation rules).
10951110 
1111 - `type: "service_account"`
1112 
1113 default: service_account
1114 
10961115 - `id: string`
10971116 
10981117 Tagged ID of the service account.
from line 1152
11331152 
11341153 - `"developer"`
11351154 
1136 - `type: "service_account"`
1137 
1138 default: service_account
1139 
11401155 - `updated_at: string`
11411156 
11421157 When this service account was last updated.
from line 1166
11511166 
11521167- `BetaServiceAccountWorkspaceMember object`
11531168 
1169 - `type: "service_account_workspace_member"`
1170 
1171 default: service_account_workspace_member
1172 
11541173 - `created_by_actor_id: string or null`
11551174 
11561175 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 1182
11631182 
11641183 Tagged service account ID (`svac_...`).
11651184 
1166 - `type: "service_account_workspace_member"`
1167 
1168 default: service_account_workspace_member
1169 
11701185 - `workspace_id: string`
11711186 
11721187 Tagged workspace ID (`wrkspc_...`).
from line 1231
12161231 
12171232 - `string`
12181233 
1219 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
1234 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
12201235 
12211236 - `"message-batches-2024-09-24"`
12221237 
from line 1279
12641279 
12651280 - `"user-profiles-2026-08-18"`
12661281 
1282 - `"user-profiles-2026-09-04"`
1283 
12671284 - `"advisor-tool-2026-03-01"`
12681285 
12691286 - `"managed-agents-2026-04-01"`
from line 1345
13281345 
13291346- `BetaServiceAccountWorkspaceMember object`
13301347 
1348 - `type: "service_account_workspace_member"`
1349 
1350 default: service_account_workspace_member
1351 
13311352 - `created_by_actor_id: string or null`
13321353 
13331354 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 1361
13401361 
13411362 Tagged service account ID (`svac_...`).
13421363 
1343 - `type: "service_account_workspace_member"`
1344 
1345 default: service_account_workspace_member
1346 
13471364 - `workspace_id: string`
13481365 
13491366 Tagged workspace ID (`wrkspc_...`).
from line 1453
14361453 
14371454 - `string`
14381455 
1439 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
1456 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
14401457 
14411458 - `"message-batches-2024-09-24"`
14421459 
from line 1501
14841501 
14851502 - `"user-profiles-2026-08-18"`
14861503 
1504 - `"user-profiles-2026-09-04"`
1505 
14871506 - `"advisor-tool-2026-03-01"`
14881507 
14891508 - `"managed-agents-2026-04-01"`
from line 1549
15301549 
15311550- `data: array of BetaServiceAccountWorkspaceMember`
15321551 
1552 - `type: "service_account_workspace_member"`
1553 
1554 default: service_account_workspace_member
1555 
15331556 - `created_by_actor_id: string or null`
15341557 
15351558 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 1565
15421565 
15431566 Tagged service account ID (`svac_...`).
15441567 
1545 - `type: "service_account_workspace_member"`
1546 
1547 default: service_account_workspace_member
1548 
15491568 - `workspace_id: string`
15501569 
15511570 Tagged workspace ID (`wrkspc_...`).
from line 1647
16281647 
16291648 - `string`
16301649 
1631 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
1650 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
16321651 
16331652 - `"message-batches-2024-09-24"`
16341653 
from line 1695
16761695 
16771696 - `"user-profiles-2026-08-18"`
16781697 
1698 - `"user-profiles-2026-09-04"`
1699 
16791700 - `"advisor-tool-2026-03-01"`
16801701 
16811702 - `"managed-agents-2026-04-01"`
from line 1741
17201741 
17211742#### Returns
17221743 
1723- `service_account_id: string`
1724 
1725 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
1726 
17271744- `type: "service_account_workspace_member_deleted"`
17281745 
17291746 default: service_account_workspace_member_deleted
1747 
1748- `service_account_id: string`
1749 
1750 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
17301751 
17311752- `workspace_id: string`
17321753 

api/beta/organization/service_accounts/archive Changed · +12 / -5 lines

from line 1
1---
2title: Archive Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/archive
4---
5 
16# Archive Service Account
27 
38**POST** `/v1/organizations/service_accounts/{service_account_id}/archive`
from line 30
2530 
2631 - `string`
2732 
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2934 
3035 - `"message-batches-2024-09-24"`
3136 
from line 78
7378 
7479 - `"user-profiles-2026-08-18"`
7580 
81 - `"user-profiles-2026-09-04"`
82 
7683 - `"advisor-tool-2026-03-01"`
7784 
7885 - `"managed-agents-2026-04-01"`
from line 131
124131 A service account is a pure identity: name + org. Authorization lives on
125132 whatever references it (federation rules).
126133 
134 - `type: "service_account"`
135 
136 default: service_account
137 
127138 - `id: string`
128139 
129140 Tagged ID of the service account.
from line 174
163174 - `"admin"`
164175 
165176 - `"developer"`
166 
167 - `type: "service_account"`
168 
169 default: service_account
170177 
171178 - `updated_at: string`
172179 

api/beta/organization/service_accounts/create Changed · +12 / -5 lines

from line 1
1---
2title: Create Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/create
4---
5 
16# Create Service Account
27 
38**POST** `/v1/organizations/service_accounts`
from line 27
2227 
2328 - `string`
2429 
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2631 
2732 - `"message-batches-2024-09-24"`
2833 
from line 75
7075 
7176 - `"user-profiles-2026-08-18"`
7277 
78 - `"user-profiles-2026-09-04"`
79 
7380 - `"advisor-tool-2026-03-01"`
7481 
7582 - `"managed-agents-2026-04-01"`
from line 150
143150 A service account is a pure identity: name + org. Authorization lives on
144151 whatever references it (federation rules).
145152 
153 - `type: "service_account"`
154 
155 default: service_account
156 
146157 - `id: string`
147158 
148159 Tagged ID of the service account.
from line 193
182193 - `"admin"`
183194 
184195 - `"developer"`
185 
186 - `type: "service_account"`
187 
188 default: service_account
189196 
190197 - `updated_at: string`
191198 

api/beta/organization/service_accounts/list Changed · +12 / -5 lines

from line 1
1---
2title: List Service Accounts
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/list
4---
5 
16# List Service Accounts
27 
38**GET** `/v1/organizations/service_accounts`
from line 41
3641 
3742 - `string`
3843 
39 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
44 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4045 
4146 - `"message-batches-2024-09-24"`
4247 
from line 89
8489 
8590 - `"user-profiles-2026-08-18"`
8691 
92 - `"user-profiles-2026-09-04"`
93 
8794 - `"advisor-tool-2026-03-01"`
8895 
8996 - `"managed-agents-2026-04-01"`
from line 137
130137 
131138- `data: array of BetaServiceAccount`
132139 
140 - `type: "service_account"`
141 
142 default: service_account
143 
133144 - `id: string`
134145 
135146 Tagged ID of the service account.
from line 180
169180 - `"admin"`
170181 
171182 - `"developer"`
172 
173 - `type: "service_account"`
174 
175 default: service_account
176183 
177184 - `updated_at: string`
178185 

api/beta/organization/service_accounts/retrieve Changed · +12 / -5 lines

from line 1
1---
2title: Get Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/retrieve
4---
5 
16# Get Service Account
27 
38**GET** `/v1/organizations/service_accounts/{service_account_id}`
from line 25
2025 
2126 - `string`
2227 
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2429 
2530 - `"message-batches-2024-09-24"`
2631 
from line 73
6873 
6974 - `"user-profiles-2026-08-18"`
7075 
76 - `"user-profiles-2026-09-04"`
77 
7178 - `"advisor-tool-2026-03-01"`
7279 
7380 - `"managed-agents-2026-04-01"`
from line 126
119126 A service account is a pure identity: name + org. Authorization lives on
120127 whatever references it (federation rules).
121128 
129 - `type: "service_account"`
130 
131 default: service_account
132 
122133 - `id: string`
123134 
124135 Tagged ID of the service account.
from line 169
158169 - `"admin"`
159170 
160171 - `"developer"`
161 
162 - `type: "service_account"`
163 
164 default: service_account
165172 
166173 - `updated_at: string`
167174 

api/beta/organization/service_accounts/update Changed · +12 / -5 lines

from line 1
1---
2title: Update Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/update
4---
5 
16# Update Service Account
27 
38**POST** `/v1/organizations/service_accounts/{service_account_id}`
from line 30
2530 
2631 - `string`
2732 
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2934 
3035 - `"message-batches-2024-09-24"`
3136 
from line 78
7378 
7479 - `"user-profiles-2026-08-18"`
7580 
81 - `"user-profiles-2026-09-04"`
82 
7683 - `"advisor-tool-2026-03-01"`
7784 
7885 - `"managed-agents-2026-04-01"`
from line 147
140147 A service account is a pure identity: name + org. Authorization lives on
141148 whatever references it (federation rules).
142149 
150 - `type: "service_account"`
151 
152 default: service_account
153 
143154 - `id: string`
144155 
145156 Tagged ID of the service account.
from line 190
179190 - `"admin"`
180191 
181192 - `"developer"`
182 
183 - `type: "service_account"`
184 
185 default: service_account
186193 
187194 - `updated_at: string`
188195 

api/beta/organization/service_accounts/workspaces Changed · +30 / -19 lines

from line 1
1---
2title: Workspaces
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces
4---
5 
16# Workspaces
27 
38## Add Workspace To Service Account
from line 34
2934 
3035 - `string`
3136 
32 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
37 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3338 
3439 - `"message-batches-2024-09-24"`
3540 
from line 82
7782 
7883 - `"user-profiles-2026-08-18"`
7984 
85 - `"user-profiles-2026-09-04"`
86 
8087 - `"advisor-tool-2026-03-01"`
8188 
8289 - `"managed-agents-2026-04-01"`
from line 148
141148 
142149- `BetaServiceAccountWorkspaceMember object`
143150 
151 - `type: "service_account_workspace_member"`
152 
153 default: service_account_workspace_member
154 
144155 - `created_by_actor_id: string or null`
145156 
146157 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 164
153164 
154165 Tagged service account ID (`svac_...`).
155166 
156 - `type: "service_account_workspace_member"`
157 
158 default: service_account_workspace_member
159 
160167 - `workspace_id: string`
161168 
162169 Tagged workspace ID (`wrkspc_...`).
from line 256
249256 
250257 - `string`
251258 
252 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
253260 
254261 - `"message-batches-2024-09-24"`
255262 
from line 304
297304 
298305 - `"user-profiles-2026-08-18"`
299306 
307 - `"user-profiles-2026-09-04"`
308 
300309 - `"advisor-tool-2026-03-01"`
301310 
302311 - `"managed-agents-2026-04-01"`
from line 352
343352 
344353- `data: array of BetaServiceAccountWorkspaceMember`
345354 
355 - `type: "service_account_workspace_member"`
356 
357 default: service_account_workspace_member
358 
346359 - `created_by_actor_id: string or null`
347360 
348361 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 368
355368 
356369 Tagged service account ID (`svac_...`).
357370 
358 - `type: "service_account_workspace_member"`
359 
360 default: service_account_workspace_member
361 
362371 - `workspace_id: string`
363372 
364373 Tagged workspace ID (`wrkspc_...`).
from line 450
441450 
442451 - `string`
443452 
444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
453 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
445454 
446455 - `"message-batches-2024-09-24"`
447456 
from line 498
489498 
490499 - `"user-profiles-2026-08-18"`
491500 
501 - `"user-profiles-2026-09-04"`
502 
492503 - `"advisor-tool-2026-03-01"`
493504 
494505 - `"managed-agents-2026-04-01"`
from line 544
533544 
534545### Returns
535546 
536- `service_account_id: string`
537 
538 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
539 
540547- `type: "service_account_workspace_member_deleted"`
541548 
542549 default: service_account_workspace_member_deleted
543550 
551- `service_account_id: string`
552 
553 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
554 
544555- `workspace_id: string`
545556 
546557 Tagged workspace ID (`wrkspc_...`) named in the delete request.
from line 581
570581 
571582- `WorkspaceRemoveResponse object`
572583 
573 - `service_account_id: string`
574 
575 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
576 
577584 - `type: "service_account_workspace_member_deleted"`
578585 
579586 default: service_account_workspace_member_deleted
587 
588 - `service_account_id: string`
589 
590 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
580591 
581592 - `workspace_id: string`
582593 

api/beta/organization/service_accounts/workspaces/add Changed · +12 / -5 lines

from line 1
1---
2title: Add Workspace To Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces/add
4---
5 
16# Add Workspace To Service Account
27 
38**POST** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
from line 32
2732 
2833 - `string`
2934 
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3136 
3237 - `"message-batches-2024-09-24"`
3338 
from line 80
7580 
7681 - `"user-profiles-2026-08-18"`
7782 
83 - `"user-profiles-2026-09-04"`
84 
7885 - `"advisor-tool-2026-03-01"`
7986 
8087 - `"managed-agents-2026-04-01"`
from line 146
139146 
140147- `BetaServiceAccountWorkspaceMember object`
141148 
149 - `type: "service_account_workspace_member"`
150 
151 default: service_account_workspace_member
152 
142153 - `created_by_actor_id: string or null`
143154 
144155 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 161
150161 - `service_account_id: string`
151162 
152163 Tagged service account ID (`svac_...`).
153 
154 - `type: "service_account_workspace_member"`
155 
156 default: service_account_workspace_member
157164 
158165 - `workspace_id: string`
159166 

api/beta/organization/service_accounts/workspaces/list Changed · +12 / -5 lines

from line 1
1---
2title: List Workspaces For Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces/list
4---
5 
16# List Workspaces For Service Account
27 
38**GET** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
from line 51
4651 
4752 - `string`
4853 
49 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
54 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5055 
5156 - `"message-batches-2024-09-24"`
5257 
from line 99
9499 
95100 - `"user-profiles-2026-08-18"`
96101 
102 - `"user-profiles-2026-09-04"`
103 
97104 - `"advisor-tool-2026-03-01"`
98105 
99106 - `"managed-agents-2026-04-01"`
from line 147
140147 
141148- `data: array of BetaServiceAccountWorkspaceMember`
142149 
150 - `type: "service_account_workspace_member"`
151 
152 default: service_account_workspace_member
153 
143154 - `created_by_actor_id: string or null`
144155 
145156 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
from line 162
151162 - `service_account_id: string`
152163 
153164 Tagged service account ID (`svac_...`).
154 
155 - `type: "service_account_workspace_member"`
156 
157 default: service_account_workspace_member
158165 
159166 - `workspace_id: string`
160167 

api/beta/organization/service_accounts/workspaces/remove Changed · +12 / -5 lines

from line 1
1---
2title: Remove Workspace From Service Account
3url: https://platform.claude.com/docs/en/api/beta/organization/service_accounts/workspaces/remove
4---
5 
16# Remove Workspace From Service Account
27 
38**DELETE** `/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}`
from line 37
3237 
3338 - `string`
3439 
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3641 
3742 - `"message-batches-2024-09-24"`
3843 
from line 85
8085 
8186 - `"user-profiles-2026-08-18"`
8287 
88 - `"user-profiles-2026-09-04"`
89 
8390 - `"advisor-tool-2026-03-01"`
8491 
8592 - `"managed-agents-2026-04-01"`
from line 131
124131 
125132## Returns
126133 
127- `service_account_id: string`
128 
129 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
130 
131134- `type: "service_account_workspace_member_deleted"`
132135 
133136 default: service_account_workspace_member_deleted
137 
138- `service_account_id: string`
139 
140 Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.
134141 
135142- `workspace_id: string`
136143 

api/beta/organization/spend_limits New page · 2144 lines, new page

# Spend Limits ## Set Spend Limit ### Body parameters ### Returns ### Example #### Response (200) ## Get Spend Limit ### Path parameters ### Returns ### Example #### Response (200) ## Delete Spend Limit ### Path parameters ### Returns ### Example #### Response (200) ## List Effective Spend Limits ### Query parameters ### Returns ### Example #### Response (200) ## Domain types ### Beta Spend Limit ### Beta Spend Summary ### Spend Limit Delete Response ## Spend Limits › Increase Requests ### List Spend Limit Increase Requests #### Query parameters #### Returns #### Example ##### Response (200) ### Get Spend Limit Increase Request #### Path parameters #### Returns #### Example ##### Response (200) ### Approve Spend Limit Increase Request #### Path parameters #### Body parameters #### Returns #### Example ##### Response (200) ### Deny Spend Limit Increase Request #### Path parameters #### Body parameters #### Returns #### Example ##### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Spend Limits
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits
---

# Spend Limits

## Set Spend Limit

**POST** `/v1/organizations/spend_limits`

Set a per-user spend limit override.

Upsert keyed on (scope, period): setting a limit that already exists
overwrites it in place. Only `scope.type: "user"` is accepted; seat-tier,
group, and organization-level defaults are configured in claude.ai.

### Body parameters

- `amount: string or null`

  Limit amount as a non-negative integer decimal string in the minor unit of the organization's billing currency (cents for USD): "50000" is $500.00. `null` sets an explicit no-limit override for this scope and `period` only — each period resolves independently, so caps for other periods still apply.

- `scope: object`

  Scope selecting a single member of the organization.

  - `type: "user"`

    Scope type. Always `user` for this scope.

    default: user

  - `user_id: string`

    Tagged ID of the member the spend limit applies to.

- `period: optional "daily" or "monthly" or "weekly"`

  - `"daily"`

  - `"monthly"`

  - `"weekly"`

### Returns

- `BetaSpendLimit object`

  A configured spend limit: a cap on metered spend for one scope and period.

  - `type: "spend_limit"`

    Object type. Always `spend_limit`.

    default: spend_limit

  - `id: string`

    Unique tagged ID of the spend limit (`spl_...`).

  - `amount: string or null`

    Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.

  - `created_at: string`

    RFC 3339 datetime at which the spend limit was created.

    format: date-time

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount`.

  - `period: "daily" or "monthly" or "weekly"`

    Length of the window the limit resets over. `amount` caps spend within each period.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `scope: object or object or object or 2 more`

    What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `updated_at: string`

    RFC 3339 datetime at which the spend limit was last modified.

    format: date-time

### Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY" \
    -d '{
          "amount": "50000",
          "scope": {
            "type": "user",
            "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
          },
          "period": "monthly"
        }'
```

#### Response (200)

```json
{
  "id": "id",
  "amount": "50000",
  "created_at": "2019-12-27T18:11:19.117Z",
  "currency": "USD",
  "period": "monthly",
  "scope": {
    "type": "user",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "type": "spend_limit",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
```

## Get Spend Limit

**GET** `/v1/organizations/spend_limits/{spend_limit_id}`

Retrieve a spend limit by ID.

### Path parameters

- `spend_limit_id: string`

  ID of the Spend Limit.

### Returns

- `BetaSpendLimit object`

  A configured spend limit: a cap on metered spend for one scope and period.

  - `type: "spend_limit"`

    Object type. Always `spend_limit`.

    default: spend_limit

  - `id: string`

    Unique tagged ID of the spend limit (`spl_...`).

  - `amount: string or null`

    Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.

  - `created_at: string`

    RFC 3339 datetime at which the spend limit was created.

    format: date-time

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount`.

  - `period: "daily" or "monthly" or "weekly"`

    Length of the window the limit resets over. `amount` caps spend within each period.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `scope: object or object or object or 2 more`

    What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `updated_at: string`

    RFC 3339 datetime at which the spend limit was last modified.

    format: date-time

### Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

#### Response (200)

```json
{
  "id": "id",
  "amount": "50000",
  "created_at": "2019-12-27T18:11:19.117Z",
  "currency": "USD",
  "period": "monthly",
  "scope": {
    "type": "user",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/create New page · 171 lines, new page

# Set Spend Limit ## Body parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Set Spend Limit
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/create
---

# Set Spend Limit

**POST** `/v1/organizations/spend_limits`

Set a per-user spend limit override.

Upsert keyed on (scope, period): setting a limit that already exists
overwrites it in place. Only `scope.type: "user"` is accepted; seat-tier,
group, and organization-level defaults are configured in claude.ai.

## Body parameters

- `amount: string or null`

  Limit amount as a non-negative integer decimal string in the minor unit of the organization's billing currency (cents for USD): "50000" is $500.00. `null` sets an explicit no-limit override for this scope and `period` only — each period resolves independently, so caps for other periods still apply.

- `scope: object`

  Scope selecting a single member of the organization.

  - `type: "user"`

    Scope type. Always `user` for this scope.

    default: user

  - `user_id: string`

    Tagged ID of the member the spend limit applies to.

- `period: optional "daily" or "monthly" or "weekly"`

  - `"daily"`

  - `"monthly"`

  - `"weekly"`

## Returns

- `BetaSpendLimit object`

  A configured spend limit: a cap on metered spend for one scope and period.

  - `type: "spend_limit"`

    Object type. Always `spend_limit`.

    default: spend_limit

  - `id: string`

    Unique tagged ID of the spend limit (`spl_...`).

  - `amount: string or null`

    Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.

  - `created_at: string`

    RFC 3339 datetime at which the spend limit was created.

    format: date-time

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount`.

  - `period: "daily" or "monthly" or "weekly"`

    Length of the window the limit resets over. `amount` caps spend within each period.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `scope: object or object or object or 2 more`

    What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `updated_at: string`

    RFC 3339 datetime at which the spend limit was last modified.

    format: date-time

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY" \
    -d '{
          "amount": "50000",
          "scope": {
            "type": "user",
            "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
          },
          "period": "monthly"
        }'
```

### Response (200)

```json
{
  "id": "id",
  "amount": "50000",
  "created_at": "2019-12-27T18:11:19.117Z",
  "currency": "USD",
  "period": "monthly",
  "scope": {
    "type": "user",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "type": "spend_limit",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
```

api/beta/organization/spend_limits/delete New page · 46 lines, new page

# Delete Spend Limit ## Path parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Delete Spend Limit
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/delete
---

# Delete Spend Limit

**DELETE** `/v1/organizations/spend_limits/{spend_limit_id}`

Delete a per-user spend limit override.

The member falls back to any inherited spend limit at that period.
Seat-tier, group, and organization-level rows cannot be deleted via
this endpoint.

## Path parameters

- `spend_limit_id: string`

  ID of the Spend Limit.

## Returns

- `type: "spend_limit_deleted"`

  default: spend_limit_deleted

- `id: string`

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
    -X DELETE \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "id": "id",
  "type": "spend_limit_deleted"
}
```

api/beta/organization/spend_limits/increase_requests New page · 1925 lines, new page

# Increase Requests ## List Spend Limit Increase Requests ### Query parameters ### Returns ### Example #### Response (200) ## Get Spend Limit Increase Request ### Path parameters ### Returns ### Example #### Response (200) ## Approve Spend Limit Increase Request ### Path parameters ### Body parameters ### Returns ### Example #### Response (200) ## Deny Spend Limit Increase Request ### Path parameters ### Body parameters ### Returns ### Example #### Response (200) ## Domain types ### Beta Spend Limit Increase Request ### Increase Request Approve Response

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Increase Requests
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/increase_requests
---

# Increase Requests

## List Spend Limit Increase Requests

**GET** `/v1/organizations/spend_limit_increase_requests`

List spend limit increase requests, most recent first.

Pending requests include a live `spend_summary` for the requester.
Requests whose requester is no longer a member are excluded.

### Query parameters

- `actor_ids: optional array of string`

  Filter by requester, as `user_...` tagged IDs.

- `limit: optional number`

  default: 20, maximum: 1000, minimum: 1

- `page: optional string`

  Opaque cursor from a previous response's `next_page`.

- `status: optional array of "approved" or "denied" or "pending"`

  Filter by status. Omit to return all.

  - `"approved"`

  - `"denied"`

  - `"pending"`

### Returns

- `data: array of BetaSpendLimitIncreaseRequest`

  - `type: "spend_limit_increase_request"`

    default: spend_limit_increase_request

  - `id: string`

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `created_at: string`

    format: date-time

  - `period: "daily" or "monthly" or "weekly"`

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `resolved_at: string or null`

    format: date-time

  - `resolved_by: object or object or null`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `UserActor object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `ScopedAPIKeyActor object`

      A scoped Admin API key acting on behalf of the organization.

      - `type: "scoped_api_key_actor"`

        default: scoped_api_key_actor

      - `scoped_api_key_id: string`

  - `spend_summary: BetaSpendSummary or null`

    Per-member effective-limit report row (`GET /spend_limits/effective`).

    - `actor: object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `amount: string or null`

      Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

    - `currency: string`

      ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

    - `period: "daily" or "monthly" or "weekly"`

      Period this row's effective limit and spend are reported for.

      - `"daily"`

      - `"monthly"`

      - `"weekly"`

    - `period_to_date_spend: string`

      The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

    - `scope: object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `source: object or object or object or 2 more`

      Scope selecting a single member of the organization.

      - `User object`

        Scope selecting a single member of the organization.

        - `type: "user"`

          Scope type. Always `user` for this scope.

          default: user

        - `user_id: string`

          Tagged ID of the member the spend limit applies to.

      - `SeatTier object`

        - `type: "seat_tier"`

          default: seat_tier

        - `seat_tier: string`

      - `RBACGroup object`

        - `type: "rbac_group"`

          default: rbac_group

        - `rbac_group_id: string`

      - `OrganizationService object`

        - `type: "organization_service"`

          default: organization_service

        - `service: string`

      - `Organization object`

        - `type: "organization"`

          default: organization

    - `spend_limit_id: string`

  - `status: "approved" or "denied" or "pending"`

    - `"approved"`

    - `"denied"`

    - `"pending"`

- `next_page: string or null`

### Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

#### Response (200)

```json
{
  "data": [
    {
      "id": "id",
      "actor": {
        "deleted": true,
        "email_address": "email_address",
        "name": "name",
        "type": "user_actor",
        "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "period": "monthly",
      "resolved_at": "2019-12-27T18:11:19.117Z",
      "resolved_by": {
        "deleted": true,
        "email_address": "email_address",

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/increase_requests/approve New page · 432 lines, new page

# Approve Spend Limit Increase Request ## Path parameters ## Body parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Approve Spend Limit Increase Request
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/increase_requests/approve
---

# Approve Spend Limit Increase Request

**POST** `/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve`

Approve a pending spend limit increase request.

Writes a per-user spend limit at `amount` for the requester and
transitions the request to `approved`. `period` defaults to the period
the member was blocked on. Anthropic emails the requester unless
`suppress_notification` is set.

## Path parameters

- `spend_limit_increase_request_id: string`

  ID of the spend limit increase request.

## Body parameters

- `amount: string`

  New per-user spend limit as a non-negative integer decimal string (minor units).

- `period: optional "daily" or "monthly" or "weekly" or null`

  - `"daily"`

  - `"monthly"`

  - `"weekly"`

- `suppress_notification: optional boolean`

## Returns

- `type: "spend_limit_increase_request"`

  default: spend_limit_increase_request

- `id: string`

- `actor: object`

  A user within the organization. `name` and `email_address` are
  null when the underlying account is unavailable or has been deleted;
  `deleted` is true only for deleted accounts.

  - `type: "user_actor"`

    Actor type. Always `user_actor`.

    default: user_actor

  - `deleted: boolean`

    True only when the underlying account has been deleted.

    default: false

  - `email_address: string or null`

    The user's email address. Null when the account is unavailable or has been deleted.

  - `name: string or null`

    The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

  - `user_id: string`

    Tagged ID of the user.

- `created_at: string`

  format: date-time

- `period: "daily" or "monthly" or "weekly"`

  - `"daily"`

  - `"monthly"`

  - `"weekly"`

- `resolved_at: string or null`

  format: date-time

- `resolved_by: object or object or null`

  A user within the organization. `name` and `email_address` are
  null when the underlying account is unavailable or has been deleted;
  `deleted` is true only for deleted accounts.

  - `UserActor object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `ScopedAPIKeyActor object`

    A scoped Admin API key acting on behalf of the organization.

    - `type: "scoped_api_key_actor"`

      default: scoped_api_key_actor

    - `scoped_api_key_id: string`

- `spend_limit: BetaSpendLimit`

  A configured spend limit: a cap on metered spend for one scope and period.

  - `type: "spend_limit"`

    Object type. Always `spend_limit`.

    default: spend_limit

  - `id: string`

    Unique tagged ID of the spend limit (`spl_...`).

  - `amount: string or null`

    Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.

  - `created_at: string`

    RFC 3339 datetime at which the spend limit was created.

    format: date-time

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount`.

  - `period: "daily" or "monthly" or "weekly"`

    Length of the window the limit resets over. `amount` caps spend within each period.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `scope: object or object or object or 2 more`

    What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `updated_at: string`

    RFC 3339 datetime at which the spend limit was last modified.

    format: date-time

- `spend_summary: BetaSpendSummary or null`

  Per-member effective-limit report row (`GET /spend_limits/effective`).

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `amount: string or null`

    Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

  - `period: "daily" or "monthly" or "weekly"`

    Period this row's effective limit and spend are reported for.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `period_to_date_spend: string`

    The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

  - `scope: object`

    Scope selecting a single member of the organization.

    - `type: "user"`

      Scope type. Always `user` for this scope.

      default: user

    - `user_id: string`

      Tagged ID of the member the spend limit applies to.

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/increase_requests/deny New page · 312 lines, new page

# Deny Spend Limit Increase Request ## Path parameters ## Body parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Deny Spend Limit Increase Request
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/increase_requests/deny
---

# Deny Spend Limit Increase Request

**POST** `/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny`

Deny a pending spend limit increase request.

Idempotent on `denied`; denying an already-`approved` request returns
400. Anthropic emails the requester unless `suppress_notification` is set.

## Path parameters

- `spend_limit_increase_request_id: string`

  ID of the spend limit increase request.

## Body parameters

- `suppress_notification: optional boolean`

## Returns

- `BetaSpendLimitIncreaseRequest object`

  - `type: "spend_limit_increase_request"`

    default: spend_limit_increase_request

  - `id: string`

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `created_at: string`

    format: date-time

  - `period: "daily" or "monthly" or "weekly"`

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `resolved_at: string or null`

    format: date-time

  - `resolved_by: object or object or null`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `UserActor object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `ScopedAPIKeyActor object`

      A scoped Admin API key acting on behalf of the organization.

      - `type: "scoped_api_key_actor"`

        default: scoped_api_key_actor

      - `scoped_api_key_id: string`

  - `spend_summary: BetaSpendSummary or null`

    Per-member effective-limit report row (`GET /spend_limits/effective`).

    - `actor: object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `amount: string or null`

      Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

    - `currency: string`

      ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

    - `period: "daily" or "monthly" or "weekly"`

      Period this row's effective limit and spend are reported for.

      - `"daily"`

      - `"monthly"`

      - `"weekly"`

    - `period_to_date_spend: string`

      The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

    - `scope: object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `source: object or object or object or 2 more`

      Scope selecting a single member of the organization.

      - `User object`

        Scope selecting a single member of the organization.

        - `type: "user"`

          Scope type. Always `user` for this scope.

          default: user

        - `user_id: string`

          Tagged ID of the member the spend limit applies to.

      - `SeatTier object`

        - `type: "seat_tier"`

          default: seat_tier

        - `seat_tier: string`

      - `RBACGroup object`

        - `type: "rbac_group"`

          default: rbac_group

        - `rbac_group_id: string`

      - `OrganizationService object`

        - `type: "organization_service"`

          default: organization_service

        - `service: string`

      - `Organization object`

        - `type: "organization"`

          default: organization

    - `spend_limit_id: string`

  - `status: "approved" or "denied" or "pending"`

    - `"approved"`

    - `"denied"`

    - `"pending"`

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID/deny \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY" \
    -d '{}'
```

### Response (200)

```json
{
  "id": "id",
  "actor": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "created_at": "2019-12-27T18:11:19.117Z",
  "period": "monthly",
  "resolved_at": "2019-12-27T18:11:19.117Z",
  "resolved_by": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "spend_summary": {
    "actor": {
      "deleted": true,
      "email_address": "email_address",
      "name": "name",
      "type": "user_actor",
      "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
    },
    "amount": "50000",
    "currency": "USD",
    "period": "monthly",
    "period_to_date_spend": "12050.5",
    "scope": {
      "type": "user",

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/increase_requests/list New page · 331 lines, new page

# List Spend Limit Increase Requests ## Query parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: List Spend Limit Increase Requests
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/increase_requests/list
---

# List Spend Limit Increase Requests

**GET** `/v1/organizations/spend_limit_increase_requests`

List spend limit increase requests, most recent first.

Pending requests include a live `spend_summary` for the requester.
Requests whose requester is no longer a member are excluded.

## Query parameters

- `actor_ids: optional array of string`

  Filter by requester, as `user_...` tagged IDs.

- `limit: optional number`

  default: 20, maximum: 1000, minimum: 1

- `page: optional string`

  Opaque cursor from a previous response's `next_page`.

- `status: optional array of "approved" or "denied" or "pending"`

  Filter by status. Omit to return all.

  - `"approved"`

  - `"denied"`

  - `"pending"`

## Returns

- `data: array of BetaSpendLimitIncreaseRequest`

  - `type: "spend_limit_increase_request"`

    default: spend_limit_increase_request

  - `id: string`

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `created_at: string`

    format: date-time

  - `period: "daily" or "monthly" or "weekly"`

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `resolved_at: string or null`

    format: date-time

  - `resolved_by: object or object or null`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `UserActor object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `ScopedAPIKeyActor object`

      A scoped Admin API key acting on behalf of the organization.

      - `type: "scoped_api_key_actor"`

        default: scoped_api_key_actor

      - `scoped_api_key_id: string`

  - `spend_summary: BetaSpendSummary or null`

    Per-member effective-limit report row (`GET /spend_limits/effective`).

    - `actor: object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `amount: string or null`

      Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

    - `currency: string`

      ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

    - `period: "daily" or "monthly" or "weekly"`

      Period this row's effective limit and spend are reported for.

      - `"daily"`

      - `"monthly"`

      - `"weekly"`

    - `period_to_date_spend: string`

      The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

    - `scope: object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `source: object or object or object or 2 more`

      Scope selecting a single member of the organization.

      - `User object`

        Scope selecting a single member of the organization.

        - `type: "user"`

          Scope type. Always `user` for this scope.

          default: user

        - `user_id: string`

          Tagged ID of the member the spend limit applies to.

      - `SeatTier object`

        - `type: "seat_tier"`

          default: seat_tier

        - `seat_tier: string`

      - `RBACGroup object`

        - `type: "rbac_group"`

          default: rbac_group

        - `rbac_group_id: string`

      - `OrganizationService object`

        - `type: "organization_service"`

          default: organization_service

        - `service: string`

      - `Organization object`

        - `type: "organization"`

          default: organization

    - `spend_limit_id: string`

  - `status: "approved" or "denied" or "pending"`

    - `"approved"`

    - `"denied"`

    - `"pending"`

- `next_page: string or null`

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "data": [
    {
      "id": "id",
      "actor": {
        "deleted": true,
        "email_address": "email_address",
        "name": "name",
        "type": "user_actor",
        "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
      },
      "created_at": "2019-12-27T18:11:19.117Z",
      "period": "monthly",
      "resolved_at": "2019-12-27T18:11:19.117Z",
      "resolved_by": {
        "deleted": true,
        "email_address": "email_address",
        "name": "name",
        "type": "user_actor",

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/increase_requests/retrieve New page · 306 lines, new page

# Get Spend Limit Increase Request ## Path parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Get Spend Limit Increase Request
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/increase_requests/retrieve
---

# Get Spend Limit Increase Request

**GET** `/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}`

Retrieve a spend limit increase request.

While `pending`, the response includes a live `spend_summary` for the
requester at the request's period.

## Path parameters

- `spend_limit_increase_request_id: string`

  ID of the spend limit increase request.

## Returns

- `BetaSpendLimitIncreaseRequest object`

  - `type: "spend_limit_increase_request"`

    default: spend_limit_increase_request

  - `id: string`

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `created_at: string`

    format: date-time

  - `period: "daily" or "monthly" or "weekly"`

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `resolved_at: string or null`

    format: date-time

  - `resolved_by: object or object or null`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `UserActor object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `ScopedAPIKeyActor object`

      A scoped Admin API key acting on behalf of the organization.

      - `type: "scoped_api_key_actor"`

        default: scoped_api_key_actor

      - `scoped_api_key_id: string`

  - `spend_summary: BetaSpendSummary or null`

    Per-member effective-limit report row (`GET /spend_limits/effective`).

    - `actor: object`

      A user within the organization. `name` and `email_address` are
      null when the underlying account is unavailable or has been deleted;
      `deleted` is true only for deleted accounts.

      - `type: "user_actor"`

        Actor type. Always `user_actor`.

        default: user_actor

      - `deleted: boolean`

        True only when the underlying account has been deleted.

        default: false

      - `email_address: string or null`

        The user's email address. Null when the account is unavailable or has been deleted.

      - `name: string or null`

        The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

      - `user_id: string`

        Tagged ID of the user.

    - `amount: string or null`

      Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

    - `currency: string`

      ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

    - `period: "daily" or "monthly" or "weekly"`

      Period this row's effective limit and spend are reported for.

      - `"daily"`

      - `"monthly"`

      - `"weekly"`

    - `period_to_date_spend: string`

      The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

    - `scope: object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `source: object or object or object or 2 more`

      Scope selecting a single member of the organization.

      - `User object`

        Scope selecting a single member of the organization.

        - `type: "user"`

          Scope type. Always `user` for this scope.

          default: user

        - `user_id: string`

          Tagged ID of the member the spend limit applies to.

      - `SeatTier object`

        - `type: "seat_tier"`

          default: seat_tier

        - `seat_tier: string`

      - `RBACGroup object`

        - `type: "rbac_group"`

          default: rbac_group

        - `rbac_group_id: string`

      - `OrganizationService object`

        - `type: "organization_service"`

          default: organization_service

        - `service: string`

      - `Organization object`

        - `type: "organization"`

          default: organization

    - `spend_limit_id: string`

  - `status: "approved" or "denied" or "pending"`

    - `"approved"`

    - `"denied"`

    - `"pending"`

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/$SPEND_LIMIT_INCREASE_REQUEST_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "id": "id",
  "actor": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "created_at": "2019-12-27T18:11:19.117Z",
  "period": "monthly",
  "resolved_at": "2019-12-27T18:11:19.117Z",
  "resolved_by": {
    "deleted": true,
    "email_address": "email_address",
    "name": "name",
    "type": "user_actor",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "spend_summary": {
    "actor": {
      "deleted": true,
      "email_address": "email_address",
      "name": "name",
      "type": "user_actor",
      "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
    },
    "amount": "50000",
    "currency": "USD",
    "period": "monthly",
    "period_to_date_spend": "12050.5",
    "scope": {
      "type": "user",
      "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
    },
    "source": {
      "type": "user",
      "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
    },

Cut at 300 lines. The page has the rest.

api/beta/organization/spend_limits/list_effective New page · 206 lines, new page

# List Effective Spend Limits ## Query parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: List Effective Spend Limits
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/list_effective
---

# List Effective Spend Limits

**GET** `/v1/organizations/spend_limits/effective`

List each member's effective spend limit and period-to-date spend.

Returns one row per (member, period) the member resolves a spend limit
for, with the `source` scope the spend limit was inherited from.
Paginates by member, so a member's periods never split across pages.

## Query parameters

- `limit: optional number`

  Maximum number of members per page. A member's period rows never split across pages, so a page may carry more rows than this. Defaults to `20`.

  default: 20, maximum: 1000, minimum: 1

- `page: optional string`

  Opaque cursor from a previous response's `next_page` field.

- `period: optional array of "daily" or "monthly" or "weekly"`

  Restrict the report to these limit periods. Omit to return one row per period each member resolves a spend limit for.

  maxItems: 3

  - `"daily"`

  - `"monthly"`

  - `"weekly"`

- `user_ids: optional array of string`

  Restrict the report to these members, by tagged user ID (`user_...`). At most 100 entries.

  maxItems: 100

## Returns

- `data: array of BetaSpendSummary`

  - `actor: object`

    A user within the organization. `name` and `email_address` are
    null when the underlying account is unavailable or has been deleted;
    `deleted` is true only for deleted accounts.

    - `type: "user_actor"`

      Actor type. Always `user_actor`.

      default: user_actor

    - `deleted: boolean`

      True only when the underlying account has been deleted.

      default: false

    - `email_address: string or null`

      The user's email address. Null when the account is unavailable or has been deleted.

    - `name: string or null`

      The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

    - `user_id: string`

      Tagged ID of the user.

  - `amount: string or null`

    Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.

  - `period: "daily" or "monthly" or "weekly"`

    Period this row's effective limit and spend are reported for.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `period_to_date_spend: string`

    The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.

  - `scope: object`

    Scope selecting a single member of the organization.

    - `type: "user"`

      Scope type. Always `user` for this scope.

      default: user

    - `user_id: string`

      Tagged ID of the member the spend limit applies to.

  - `source: object or object or object or 2 more`

    Scope selecting a single member of the organization.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `spend_limit_id: string`

- `next_page: string or null`

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits/effective \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "data": [
    {
      "actor": {
        "deleted": true,
        "email_address": "email_address",
        "name": "name",
        "type": "user_actor",
        "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
      },
      "amount": "50000",
      "currency": "USD",
      "period": "monthly",
      "period_to_date_spend": "12050.5",
      "scope": {
        "type": "user",
        "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
      },
      "source": {
        "type": "user",
        "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
      },
      "spend_limit_id": "spend_limit_id"
    }
  ],
  "next_page": "next_page"
}
```

api/beta/organization/spend_limits/retrieve New page · 136 lines, new page

# Get Spend Limit ## Path parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Get Spend Limit
url: https://platform.claude.com/docs/en/api/beta/organization/spend_limits/retrieve
---

# Get Spend Limit

**GET** `/v1/organizations/spend_limits/{spend_limit_id}`

Retrieve a spend limit by ID.

## Path parameters

- `spend_limit_id: string`

  ID of the Spend Limit.

## Returns

- `BetaSpendLimit object`

  A configured spend limit: a cap on metered spend for one scope and period.

  - `type: "spend_limit"`

    Object type. Always `spend_limit`.

    default: spend_limit

  - `id: string`

    Unique tagged ID of the spend limit (`spl_...`).

  - `amount: string or null`

    Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.

  - `created_at: string`

    RFC 3339 datetime at which the spend limit was created.

    format: date-time

  - `currency: string`

    ISO 4217 code of the organization's billing currency; the unit for `amount`.

  - `period: "daily" or "monthly" or "weekly"`

    Length of the window the limit resets over. `amount` caps spend within each period.

    - `"daily"`

    - `"monthly"`

    - `"weekly"`

  - `scope: object or object or object or 2 more`

    What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.

    - `User object`

      Scope selecting a single member of the organization.

      - `type: "user"`

        Scope type. Always `user` for this scope.

        default: user

      - `user_id: string`

        Tagged ID of the member the spend limit applies to.

    - `SeatTier object`

      - `type: "seat_tier"`

        default: seat_tier

      - `seat_tier: string`

    - `RBACGroup object`

      - `type: "rbac_group"`

        default: rbac_group

      - `rbac_group_id: string`

    - `OrganizationService object`

      - `type: "organization_service"`

        default: organization_service

      - `service: string`

    - `Organization object`

      - `type: "organization"`

        default: organization

  - `updated_at: string`

    RFC 3339 datetime at which the spend limit was last modified.

    format: date-time

## Example

```bash
curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "id": "id",
  "amount": "50000",
  "created_at": "2019-12-27T18:11:19.117Z",
  "currency": "USD",
  "period": "monthly",
  "scope": {
    "type": "user",
    "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
  },
  "type": "spend_limit",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
```

api/beta/organization/usage_report New page · 953 lines, new page

# Usage Report ## Get Messages Usage Report ### Query parameters ### Headers ### Returns ### Example #### Response (200) ## Get Claude Code Usage Report ### Query parameters ### Returns ### Example #### Response (200) ## Domain types ### Beta Claude Code Usage Report ### Beta Messages Usage Report

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Usage Report
url: https://platform.claude.com/docs/en/api/beta/organization/usage_report
---

# Usage Report

## Get Messages Usage Report

**GET** `/v1/organizations/usage_report/messages`

Get Messages Usage Report

### Query parameters

- `starting_at: string`

  Time buckets that start on or after this RFC 3339 timestamp will be returned.
  Each time bucket will be snapped to the start of the minute/hour/day in UTC.

  format: date-time

- `account_ids: optional array of string`

  Restrict usage returned to the specified user account ID(s).

- `api_key_ids: optional array of string`

  Restrict usage returned to the specified API key ID(s).

- `bucket_width: optional "1d" or "1h" or "1m"`

  Time granularity of the response data.

  default: 1d

  - `"1d"`

  - `"1h"`

  - `"1m"`

- `context_window: optional array of "0-200k" or "200k-1M"`

  Restrict usage returned to the specified context window(s).

  - `"0-200k"`

  - `"200k-1M"`

- `ending_at: optional string`

  Time buckets that end before this RFC 3339 timestamp will be returned.

  format: date-time

- `group_by: optional array of "account_id" or "api_key_id" or "context_window" or 6 more`

  Group by any subset of the available options. Grouping by `speed` requires the `fast-mode-2026-02-01` beta header.

  - `"account_id"`

  - `"api_key_id"`

  - `"context_window"`

  - `"inference_geo"`

  - `"model"`

  - `"service_account_id"`

  - `"service_tier"`

  - `"speed"`

  - `"workspace_id"`

- `inference_geos: optional array of "global" or "not_available" or "us"`

  Restrict usage returned to the specified inference geo(s). Use `not_available` for models that do not support specifying `inference_geo`.

  - `"global"`

  - `"not_available"`

  - `"us"`

- `limit: optional number`

  Maximum number of time buckets to return in the response.

  The default and max limits depend on `bucket_width`:
  • `"1d"`: Default of 7 days, maximum of 31 days
  • `"1h"`: Default of 24 hours, maximum of 168 hours
  • `"1m"`: Default of 60 minutes, maximum of 1440 minutes

- `models: optional array of string`

  Restrict usage returned to the specified model(s).

- `page: optional string`

  Optionally set to the `next_page` token from the previous response.

- `service_account_ids: optional array of string`

  Restrict usage returned to the specified service account ID(s).

- `service_tiers: optional array of "batch" or "flex" or "flex_discount" or 3 more`

  Restrict usage returned to the specified service tier(s).

  - `"batch"`

  - `"flex"`

  - `"flex_discount"`

  - `"priority"`

  - `"priority_on_demand"`

  - `"standard"`

- `speeds: optional array of "standard" or "fast"`

  Restrict usage returned to the specified speed(s) (Claude Code research preview).
  Requires the `fast-mode-2026-02-01` beta header.

  - `"standard"`

  - `"fast"`

- `workspace_ids: optional array of string`

  Restrict usage returned to the specified workspace ID(s).

### Headers

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`

    - `"message-batches-2024-09-24"`

    - `"prompt-caching-2024-07-31"`

    - `"computer-use-2024-10-22"`

    - `"computer-use-2025-01-24"`

    - `"pdfs-2024-09-25"`

    - `"token-counting-2024-11-01"`

    - `"token-efficient-tools-2025-02-19"`

    - `"output-128k-2025-02-19"`

    - `"files-api-2025-04-14"`

    - `"mcp-client-2025-04-04"`

    - `"mcp-client-2025-11-20"`

    - `"dev-full-thinking-2025-05-14"`

    - `"interleaved-thinking-2025-05-14"`

    - `"code-execution-2025-05-22"`

    - `"extended-cache-ttl-2025-04-11"`

    - `"context-1m-2025-08-07"`

    - `"context-management-2025-06-27"`

    - `"model-context-window-exceeded-2025-08-26"`

    - `"skills-2025-10-02"`

    - `"fast-mode-2026-02-01"`

    - `"output-300k-2026-03-24"`

    - `"user-profiles-2026-03-24"`

    - `"user-profiles-2026-08-18"`

    - `"user-profiles-2026-09-04"`

    - `"advisor-tool-2026-03-01"`

    - `"managed-agents-2026-04-01"`

    - `"cache-diagnosis-2026-04-07"`

    - `"dreaming-2026-04-21"`

    - `"thinking-token-count-2026-05-13"`

    - `"server-side-fallback-2026-06-01"`

    - `"server-side-fallback-2026-07-01"`

    - `"fallback-credit-2026-06-01"`

    - `"fallback-credit-2026-07-01"`

    - `"agent-memory-2026-07-22"`

    - `"mid-conversation-tool-changes-2026-07-01"`

    - `"compact-2026-01-12"`

    - `"computer-use-2025-11-24"`

    - `"mcp-tunnels-2026-06-22"`

    - `"structured-outputs-2025-11-13"`

    - `"task-budgets-2026-03-13"`

    - `"thinking-display-updates-2026-08-18"`

    - `"ce-user-management-2026-07-13"`

    - `"mid-conversation-output-config-2026-07-01"`

    - `"thinking-binding-controls-2026-08-01"`

    - `"mid-conversation-system-clear-at-2026-08-21"`

### Returns

- `BetaMessagesUsageReport object`

  - `data: array of object`

    List of time buckets for this page, oldest first: one per `bucket_width` interval, including intervals with no usage (their `results` list is empty). A page holds at most `limit` buckets.

    - `ending_at: string`

      End of the time bucket (exclusive) in RFC 3339 format.

      format: date-time

    - `results: array of object`

      List of usage items for this time bucket.  There may be multiple items if one or more `group_by[]` parameters are specified.

      - `account_id: string or null`

        ID of the user account that made the request. `null` if not grouping by account or for non-OAuth requests.

      - `api_key_id: string or null`

        ID of the API key used. `null` if not grouping by API key or for usage in the Anthropic Console.

      - `cache_creation: BetaCacheCreation`

        The number of input tokens for cache creation.

        - `ephemeral_1h_input_tokens: number`

          The number of input tokens used to create the 1 hour cache entry.

          default: 0, minimum: 0

        - `ephemeral_5m_input_tokens: number`

          The number of input tokens used to create the 5 minute cache entry.

          default: 0, minimum: 0

      - `cache_read_input_tokens: number`

        The number of input tokens read from the cache.

      - `context_window: "0-200k" or "200k-1M" or null`

        Context window used. `null` if not grouping by context window.

        - `"0-200k"`

        - `"200k-1M"`

      - `inference_geo: "global" or "not_available" or "us" or null`

        Inference geo used matching requests' `inference_geo` parameter if set, otherwise the workspace's `default_inference_geo`.
        For models that do not support specifying `inference_geo` the value is `"not_available"`. Always `null` if not grouping by inference geo.

        - `"global"`

        - `"not_available"`

Cut at 300 lines. The page has the rest.

api/beta/organization/usage_report/retrieve_claude_code New page · 271 lines, new page

# Get Claude Code Usage Report ## Query parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Get Claude Code Usage Report
url: https://platform.claude.com/docs/en/api/beta/organization/usage_report/retrieve_claude_code
---

# Get Claude Code Usage Report

**GET** `/v1/organizations/usage_report/claude_code`

Retrieve daily aggregated usage metrics for Claude Code users.
Enables organizations to analyze developer productivity and build custom dashboards.

## Query parameters

- `starting_at: string`

  UTC date in YYYY-MM-DD format. Returns metrics for this single day only.

  pattern: ^\d{4}-\d{2}-\d{2}$, format: date

- `limit: optional number`

  Number of records per page (default: 20, max: 1000).

  default: 20, maximum: 1000, minimum: 1

- `page: optional string`

  Opaque cursor token from previous response's `next_page` field.

## Returns

- `BetaClaudeCodeUsageReport object`

  - `data: array of object`

    List of Claude Code usage records for the requested date.

    - `actor: object or object`

      The user or API key that performed the Claude Code actions.

      - `UserActor object`

        - `type: "user_actor"`

          Actor type. Always `"user_actor"` for a user.

        - `email_address: string`

          Email address of the user who performed Claude Code actions.

      - `APIActor object`

        - `type: "api_actor"`

          Actor type. Always `"api_actor"` for an API key.

        - `api_key_name: string`

          Name of the API key used to perform Claude Code actions.

    - `core_metrics: object`

      Core productivity metrics measuring Claude Code usage and impact.

      - `commits_by_claude_code: number`

        Number of git commits created through Claude Code's commit functionality.

      - `lines_of_code: object`

        Statistics on code changes made through Claude Code.

        - `added: number`

          Total number of lines of code added across all files by Claude Code.

        - `removed: number`

          Total number of lines of code removed across all files by Claude Code.

      - `num_sessions: number`

        Number of distinct Claude Code sessions initiated by this actor.

      - `pull_requests_by_claude_code: number`

        Number of pull requests created through Claude Code's PR functionality.

    - `customer_type: "api" or "subscription"`

      Type of customer account (api for API customers, subscription for Pro/Team customers).

      - `"api"`

      - `"subscription"`

    - `date: string`

      UTC day the usage metrics cover, as an RFC 3339 timestamp at midnight UTC
      (for example `2025-08-08T00:00:00Z`).

      format: date-time

    - `is_remote: boolean`

      Whether the usage came from remote Claude Code sessions, such as Claude Code
      on the web. Remote and local usage are reported as separate rows.

    - `model_breakdown: array of object`

      Token usage and cost breakdown by AI model used.

      - `estimated_cost: object`

        Estimated cost for using this model

        - `amount: number`

          Estimated cost amount in minor currency units (e.g., cents for USD).

        - `currency: string`

          Currency code for the estimated cost (e.g., 'USD').

      - `model: string`

        Name of the AI model used for Claude Code interactions.

      - `tokens: object`

        Token usage breakdown for this model

        - `cache_creation: number`

          Number of cache creation tokens consumed by this model.

        - `cache_read: number`

          Number of cache read tokens consumed by this model.

        - `input: number`

          Number of input tokens consumed by this model.

        - `output: number`

          Number of output tokens generated by this model.

    - `organization_id: string`

      ID of the organization that owns the Claude Code usage.

    - `terminal_type: string`

      Type of terminal or environment where Claude Code was used.

    - `tool_actions: map[object]`

      Breakdown of tool action acceptance and rejection rates by tool type.

      - `accepted: number`

        Number of tool action proposals that the user accepted.

      - `rejected: number`

        Number of tool action proposals that the user rejected.

    - `subscription_type: optional "enterprise" or "team" or null`

      Subscription tier for subscription customers. `null` for API customers.

      - `"enterprise"`

      - `"team"`

  - `has_more: boolean`

    True if there are more records available beyond the current page.

  - `next_page: string or null`

    Opaque cursor token for fetching the next page of results, or null if no more pages are available.

## Example

```bash
curl https://api.anthropic.com/v1/organizations/usage_report/claude_code \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "data": [
    {
      "actor": {
        "email_address": "[email protected]",
        "type": "user_actor"
      },
      "core_metrics": {
        "commits_by_claude_code": 8,
        "lines_of_code": {
          "added": 342,
          "removed": 128
        },
        "num_sessions": 15,
        "pull_requests_by_claude_code": 2
      },
      "customer_type": "api",
      "date": "2025-08-08T00:00:00Z",
      "is_remote": false,
      "model_breakdown": [
        {
          "estimated_cost": {
            "amount": 186,
            "currency": "USD"
          },
          "model": "claude-opus-5",
          "tokens": {
            "cache_creation": 2340,
            "cache_read": 8790,
            "input": 45230,
            "output": 12450
          }
        },
        {
          "estimated_cost": {
            "amount": 42,
            "currency": "USD"
          },
          "model": "claude-sonnet-5",
          "tokens": {
            "cache_creation": 890,
            "cache_read": 3420,
            "input": 23100,
            "output": 5680
          }
        }
      ],
      "organization_id": "12345678-1234-5678-1234-567812345678",
      "terminal_type": "iTerm.app",
      "tool_actions": {
        "edit_tool": {
          "accepted": 25,
          "rejected": 3
        },
        "multi_edit_tool": {
          "accepted": 12,
          "rejected": 1
        },
        "notebook_edit_tool": {
          "accepted": 5,
          "rejected": 2
        },
        "write_tool": {
          "accepted": 8,
          "rejected": 0
        }
      },
      "subscription_type": "enterprise"
    }
  ],
  "has_more": true,
  "next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}
```

api/beta/organization/usage_report/retrieve_messages New page · 403 lines, new page

# Get Messages Usage Report ## Query parameters ## Headers ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Get Messages Usage Report
url: https://platform.claude.com/docs/en/api/beta/organization/usage_report/retrieve_messages
---

# Get Messages Usage Report

**GET** `/v1/organizations/usage_report/messages`

Get Messages Usage Report

## Query parameters

- `starting_at: string`

  Time buckets that start on or after this RFC 3339 timestamp will be returned.
  Each time bucket will be snapped to the start of the minute/hour/day in UTC.

  format: date-time

- `account_ids: optional array of string`

  Restrict usage returned to the specified user account ID(s).

- `api_key_ids: optional array of string`

  Restrict usage returned to the specified API key ID(s).

- `bucket_width: optional "1d" or "1h" or "1m"`

  Time granularity of the response data.

  default: 1d

  - `"1d"`

  - `"1h"`

  - `"1m"`

- `context_window: optional array of "0-200k" or "200k-1M"`

  Restrict usage returned to the specified context window(s).

  - `"0-200k"`

  - `"200k-1M"`

- `ending_at: optional string`

  Time buckets that end before this RFC 3339 timestamp will be returned.

  format: date-time

- `group_by: optional array of "account_id" or "api_key_id" or "context_window" or 6 more`

  Group by any subset of the available options. Grouping by `speed` requires the `fast-mode-2026-02-01` beta header.

  - `"account_id"`

  - `"api_key_id"`

  - `"context_window"`

  - `"inference_geo"`

  - `"model"`

  - `"service_account_id"`

  - `"service_tier"`

  - `"speed"`

  - `"workspace_id"`

- `inference_geos: optional array of "global" or "not_available" or "us"`

  Restrict usage returned to the specified inference geo(s). Use `not_available` for models that do not support specifying `inference_geo`.

  - `"global"`

  - `"not_available"`

  - `"us"`

- `limit: optional number`

  Maximum number of time buckets to return in the response.

  The default and max limits depend on `bucket_width`:
  • `"1d"`: Default of 7 days, maximum of 31 days
  • `"1h"`: Default of 24 hours, maximum of 168 hours
  • `"1m"`: Default of 60 minutes, maximum of 1440 minutes

- `models: optional array of string`

  Restrict usage returned to the specified model(s).

- `page: optional string`

  Optionally set to the `next_page` token from the previous response.

- `service_account_ids: optional array of string`

  Restrict usage returned to the specified service account ID(s).

- `service_tiers: optional array of "batch" or "flex" or "flex_discount" or 3 more`

  Restrict usage returned to the specified service tier(s).

  - `"batch"`

  - `"flex"`

  - `"flex_discount"`

  - `"priority"`

  - `"priority_on_demand"`

  - `"standard"`

- `speeds: optional array of "standard" or "fast"`

  Restrict usage returned to the specified speed(s) (Claude Code research preview).
  Requires the `fast-mode-2026-02-01` beta header.

  - `"standard"`

  - `"fast"`

- `workspace_ids: optional array of string`

  Restrict usage returned to the specified workspace ID(s).

## Headers

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`

    - `"message-batches-2024-09-24"`

    - `"prompt-caching-2024-07-31"`

    - `"computer-use-2024-10-22"`

    - `"computer-use-2025-01-24"`

    - `"pdfs-2024-09-25"`

    - `"token-counting-2024-11-01"`

    - `"token-efficient-tools-2025-02-19"`

    - `"output-128k-2025-02-19"`

    - `"files-api-2025-04-14"`

    - `"mcp-client-2025-04-04"`

    - `"mcp-client-2025-11-20"`

    - `"dev-full-thinking-2025-05-14"`

    - `"interleaved-thinking-2025-05-14"`

    - `"code-execution-2025-05-22"`

    - `"extended-cache-ttl-2025-04-11"`

    - `"context-1m-2025-08-07"`

    - `"context-management-2025-06-27"`

    - `"model-context-window-exceeded-2025-08-26"`

    - `"skills-2025-10-02"`

    - `"fast-mode-2026-02-01"`

    - `"output-300k-2026-03-24"`

    - `"user-profiles-2026-03-24"`

    - `"user-profiles-2026-08-18"`

    - `"user-profiles-2026-09-04"`

    - `"advisor-tool-2026-03-01"`

    - `"managed-agents-2026-04-01"`

    - `"cache-diagnosis-2026-04-07"`

    - `"dreaming-2026-04-21"`

    - `"thinking-token-count-2026-05-13"`

    - `"server-side-fallback-2026-06-01"`

    - `"server-side-fallback-2026-07-01"`

    - `"fallback-credit-2026-06-01"`

    - `"fallback-credit-2026-07-01"`

    - `"agent-memory-2026-07-22"`

    - `"mid-conversation-tool-changes-2026-07-01"`

    - `"compact-2026-01-12"`

    - `"computer-use-2025-11-24"`

    - `"mcp-tunnels-2026-06-22"`

    - `"structured-outputs-2025-11-13"`

    - `"task-budgets-2026-03-13"`

    - `"thinking-display-updates-2026-08-18"`

    - `"ce-user-management-2026-07-13"`

    - `"mid-conversation-output-config-2026-07-01"`

    - `"thinking-binding-controls-2026-08-01"`

    - `"mid-conversation-system-clear-at-2026-08-21"`

## Returns

- `BetaMessagesUsageReport object`

  - `data: array of object`

    List of time buckets for this page, oldest first: one per `bucket_width` interval, including intervals with no usage (their `results` list is empty). A page holds at most `limit` buckets.

    - `ending_at: string`

      End of the time bucket (exclusive) in RFC 3339 format.

      format: date-time

    - `results: array of object`

      List of usage items for this time bucket.  There may be multiple items if one or more `group_by[]` parameters are specified.

      - `account_id: string or null`

        ID of the user account that made the request. `null` if not grouping by account or for non-OAuth requests.

      - `api_key_id: string or null`

        ID of the API key used. `null` if not grouping by API key or for usage in the Anthropic Console.

      - `cache_creation: BetaCacheCreation`

        The number of input tokens for cache creation.

        - `ephemeral_1h_input_tokens: number`

          The number of input tokens used to create the 1 hour cache entry.

          default: 0, minimum: 0

        - `ephemeral_5m_input_tokens: number`

          The number of input tokens used to create the 5 minute cache entry.

          default: 0, minimum: 0

      - `cache_read_input_tokens: number`

        The number of input tokens read from the cache.

      - `context_window: "0-200k" or "200k-1M" or null`

        Context window used. `null` if not grouping by context window.

        - `"0-200k"`

        - `"200k-1M"`

      - `inference_geo: "global" or "not_available" or "us" or null`

        Inference geo used matching requests' `inference_geo` parameter if set, otherwise the workspace's `default_inference_geo`.
        For models that do not support specifying `inference_geo` the value is `"not_available"`. Always `null` if not grouping by inference geo.

        - `"global"`

        - `"not_available"`

        - `"us"`

Cut at 300 lines. The page has the rest.

api/beta/organization/users Changed · +53 / -48 lines

from line 1
1---
2title: Users
3url: https://platform.claude.com/docs/en/api/beta/organization/users
4---
5 
16# Users
27 
38## List Users
from line 45
4045 
4146- `data: array of BetaOrganizationUser`
4247 
48 - `type: "user"`
49 
50 Object type.
51 
52 For Users, this is always `"user"`.
53 
54 default: user
55 
4356 - `id: string`
4457 
4558 ID of the User.
from line 93
8093 
8194 - `"user"`
8295 
83 - `type: "user"`
84 
85 Object type.
86 
87 For Users, this is always `"user"`.
88 
89 default: user
90 
9196- `first_id: string or null`
9297 
9398 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 149
144149 
145150- `BetaOrganizationUser object`
146151 
152 - `type: "user"`
153 
154 Object type.
155 
156 For Users, this is always `"user"`.
157 
158 default: user
159 
147160 - `id: string`
148161 
149162 ID of the User.
from line 197
184197 
185198 - `"user"`
186199 
187 - `type: "user"`
188 
189 Object type.
190 
191 For Users, this is always `"user"`.
192 
193 default: user
194 
195200### Example
196201 
197202```bash
from line 252
247252 
248253- `BetaOrganizationUser object`
249254 
255 - `type: "user"`
256 
257 Object type.
258 
259 For Users, this is always `"user"`.
260 
261 default: user
262 
250263 - `id: string`
251264 
252265 ID of the User.
from line 300
287300 
288301 - `"user"`
289302 
290 - `type: "user"`
291 
292 Object type.
293 
294 For Users, this is always `"user"`.
295 
296 default: user
297 
298303### Example
299304 
300305```bash
from line 339
334339 
335340### Returns
336341 
337- `id: string`
338 
339 ID of the User.
340 
341342- `type: "user_deleted"`
342343 
343344 Deleted object type.
from line 347
346347 
347348 default: user_deleted
348349 
350- `id: string`
351 
352 ID of the User.
353 
349354### Example
350355 
351356```bash
from line 375
370375 
371376- `BetaOrganizationUser object`
372377 
378 - `type: "user"`
379 
380 Object type.
381 
382 For Users, this is always `"user"`.
383 
384 default: user
385 
373386 - `id: string`
374387 
375388 ID of the User.
from line 423
410423 
411424 - `"user"`
412425 
413 - `type: "user"`
414 
415 Object type.
416 
417 For Users, this is always `"user"`.
418 
419 default: user
420 
421426### User Remove Response
422427 
423428- `UserRemoveResponse object`
424429 
425 - `id: string`
426 
427 ID of the User.
428 
429430 - `type: "user_deleted"`
430431 
431432 Deleted object type.
from line 434
433434 For Users, this is always `"user_deleted"`.
434435 
435436 default: user_deleted
437 
438 - `id: string`
439 
440 ID of the User.
436441 

api/beta/organization/users/list Changed · +13 / -8 lines

from line 1
1---
2title: List Users
3url: https://platform.claude.com/docs/en/api/beta/organization/users/list
4---
5 
16# List Users
27 
38**GET** `/v1/organizations/users`
from line 43
3843 
3944- `data: array of BetaOrganizationUser`
4045 
46 - `type: "user"`
47 
48 Object type.
49 
50 For Users, this is always `"user"`.
51 
52 default: user
53 
4154 - `id: string`
4255 
4356 ID of the User.
from line 90
7790 - `"primary_owner"`
7891 
7992 - `"user"`
80 
81 - `type: "user"`
82 
83 Object type.
84 
85 For Users, this is always `"user"`.
86 
87 default: user
8893 
8994- `first_id: string or null`
9095