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

Get Service Account changedapi/admin/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+16added
Lines−15removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits4to this page, all time

# Get Service Account ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Service Account ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get Service Account
3url: https://platform.claude.com/docs/en/api/admin/service_accounts/retrieve
4---
1# Get Service Account
52 
6## Get Service Account
3**GET** `/v1/organizations/service_accounts/{service_account_id}`
74 
8**get** `/v1/organizations/service_accounts/{service_account_id}`
9 
105Retrieve a service account by its ID (`svac_...`).
116 
12### Path Parameters
7## Path parameters
138 
149- `service_account_id: string`
1510 
1611 ID of the service account.
1712 
18### Header Parameters
13## Headers
1914 
2015- `"anthropic-beta": optional array of string`
2116 
from line 18
2318 
2419 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
2520 
26### Returns
21## Returns
2722 
28- `ServiceAccount object { id, archived_at, archived_by_actor_id, 8 more }`
23- `ServiceAccount object`
2924 
3025 Named non-human identity within the caller's organization.
3126 
from line 35
4035 
4136 If set, this service account is archived.
4237 
38 format: date-time
39 
4340 - `archived_by_actor_id: string or null`
4441 
4542 Tagged ID (`user_`/`svac_`) of the actor that archived this service account.
from line 45
4845 
4946 When this service account was created.
5047 
48 format: date-time
49 
5150 - `created_by_actor_id: string or null`
5251 
5352 Tagged ID (`user_`/`svac_`) of the actor that created this service account.
from line 69
7069 
7170 - `type: "service_account"`
7271 
73 - `"service_account"`
72 default: service_account
7473 
7574 - `updated_at: string`
7675 
7776 When this service account was last updated.
7877 
78 format: date-time
79 
7980 - `updated_by_actor_id: string or null`
8081 
8182 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
8283 
83### Example
84## Example
8485 
85```http
86```bash
8687curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
8788 -H 'anthropic-version: 2023-06-01' \
8889 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
8990```
9091 
91#### Response
92### Response (200)
9293 
9394```json
9495{
Feedback