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/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