Claude Platform Docs

현재 조직 조회

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

인증된 API 키와 연결된 조직에 대한 정보를 조회합니다.

Returns
class BetaOrganization { $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.

현재 조직 조회
<?php

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

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

$betaOrganization = $client->beta->organization->retrieve();

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