Get Current Organization
get /v1/organizations/me
Retrieve information about the organization associated with the authenticated API key.
Returns
-
Organization object { id, name, type }-
id: stringID of the Organization.
-
name: stringName of the Organization.
-
type: "organization"Object type.
For Organizations, this is always
"organization"."organization"
-
Example
curl https://api.anthropic.com/v1/organizations/me \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY"
Response
{
"id": "12345678-1234-5678-1234-567812345678",
"name": "Organization Name",
"type": "organization"
}