Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

List Workspaces For Service Account changedapi/admin/service_accounts/workspaces/list

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

Recorded here
Lines+13added
Lines−16removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

# List Workspaces For Service Account ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Workspaces For Service Account ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: List Workspaces For Service Account
3url: https://platform.claude.com/docs/en/api/admin/service_accounts/workspaces/list
4---
1# List Workspaces For Service Account
52 
6## List Workspaces For Service Account
3**GET** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
74 
8**get** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
9 
105List the workspaces a service account is a member of.
116 
127Each entry includes the service account's `workspace_role` in that
from line 14
1914the service account is active; an archived service account returns an
2015empty list.
2116 
22### Path Parameters
17## Path parameters
2318 
2419- `service_account_id: string`
2520 
2621 ID of the service account.
2722 
28### Query Parameters
23## Query parameters
2924 
3025- `limit: optional number`
3126 
3227 Number of results per page.
3328 
29 default: 20, maximum: 100, minimum: 1
30 
3431- `page: optional string`
3532 
3633 Opaque cursor from a previous response's `next_page`.
3734 
38### Header Parameters
35## Headers
3936 
4037- `"anthropic-beta": optional array of string`
4138 
from line 40
4340 
4441 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
4542 
46### Returns
43## Returns
4744 
48- `data: array of object { created_by_actor_id, implicit, service_account_id, 3 more }`
45- `data: array of object`
4946 
5047 - `created_by_actor_id: string or null`
5148 
from line 58
6158 
6259 - `type: "service_account_workspace_member"`
6360 
64 - `"service_account_workspace_member"`
61 default: service_account_workspace_member
6562 
6663 - `workspace_id: string`
6764 
from line 82
8582 
8683 Opaque cursor for the next page, or null if no more results.
8784 
88### Example
85## Example
8986 
90```http
87```bash
9188curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID/workspaces \
9289 -H 'anthropic-version: 2023-06-01' \
9390 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
9491```
9592 
96#### Response
93### Response (200)
9794 
9895```json
9996{
Feedback