Claude Platform Docs

Get Current Organization

$client->organization->retrieve(): OrganizationInfo
GET/v1/organizations/me

Retrieve information about the organization associated with the authenticated API key.

Returns
class OrganizationInfo { $type = 'organization'; $id; $name; }
"organization" type

Object type.

For Organizations, this is always "organization".

string id

ID of the Organization.

string name

Name of the Organization.

Get Current Organization
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;

$client = new Client(apiKey: 'my-anthropic-api-key');

$organizationInfo = $client->organization->retrieve();

var_dump($organizationInfo);
Returns Examples
Response 200
{
  "id": "12345678-1234-5678-1234-567812345678",
  "name": "Organization Name",
  "type": "organization"
}