Get Service Account Workspace Member changedapi/admin/workspaces/service_accounts/retrieve
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+9added
Lines−14removed
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
# Get Service Account Workspace Member ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Service Account Workspace Member ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get Service Account Workspace Member
3url: https://platform.claude.com/docs/en/api/admin/workspaces/service_accounts/retrieve
4---
1# Get Service Account Workspace Member
52
6## Get Service Account Workspace Member
3**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
74
8**get** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
9
105Retrieve a service account's membership in a workspace.
116
127Returns the membership record, including the service account's
from line 11
1611membership is returned with its assigned role. An archived service
1712account returns 404.
1813
19### Path Parameters
14## Path parameters
2015
2116- `workspace_id: string`
2217
from line 21
2621
2722 ID of the service account.
2823
29### Header Parameters
24## Headers
3025
3126- `"anthropic-beta": optional array of string`
3227
from line 29
3429
3530 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
3631
37### Returns
32## Returns
3833
3934- `created_by_actor_id: string or null`
4035
from line 45
5045
5146- `type: "service_account_workspace_member"`
5247
53 - `"service_account_workspace_member"`
48 default: service_account_workspace_member
5449
5550- `workspace_id: string`
5651
from line 65
7065
7166 - `"workspace_user"`
7267
73### Example
68## Example
7469
75```http
70```bash
7671curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
7772 -H 'anthropic-version: 2023-06-01' \
7873 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
7974```
8075
81#### Response
76### Response (200)
8277
8378```json
8479{
No line in this hunk matches that.