Claude Platform Docs

Obtenir l'organisation actuelle

GET/v1/organizations/me

Récupérer les informations sur l'organisation associée à la clé API authentifiée.

Returns
BetaOrganization object{ id, name, type }
id: string

ID of the Organization.

formatuuid
name: string

Name of the Organization.

type: "organization"

Object type.

For Organizations, this is always "organization".

defaultorganization
Obtenir l'organisation actuelle
curl https://api.anthropic.com/v1/organizations/me \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
Returns Examples
Response 200
{
  "id": "12345678-1234-5678-1234-567812345678",
  "name": "Organization Name",
  "type": "organization"
}