SPB Git

Repository Public

retrieve.md 846 B 51 lines markdown

1---2title: Get Current Organization3url: https://platform.claude.com/docs/en/api/beta/organization/retrieve4---56# Get Current Organization78**GET** `/v1/organizations/me`910Retrieve information about the organization associated with the authenticated API key.1112## Returns1314- `BetaOrganization object`1516  - `type: "organization"`1718    Object type.1920    For Organizations, this is always `"organization"`.2122    default: organization2324  - `id: string`2526    ID of the Organization.2728    format: uuid2930  - `name: string`3132    Name of the Organization.3334## Example3536```bash37curl https://api.anthropic.com/v1/organizations/me \38    -H 'anthropic-version: 2023-06-01' \39    -H "X-Api-Key: $ANTHROPIC_API_KEY"40```4142### Response (200)4344```json45{46  "id": "12345678-1234-5678-1234-567812345678",47  "name": "Organization Name",48  "type": "organization"49}50```51
Files main
Menu

Theme