Obter organização atual
GET/v1/organizations/me
Recupere informações sobre a organização associada à chave de API autenticada.
Returns
Obter organização atual
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$client = new Client(apiKey: 'my-anthropic-api-key');
$betaOrganization = $client->beta->organization->retrieve();
var_dump($betaOrganization);Response 200
{
"id": "12345678-1234-5678-1234-567812345678",
"name": "Organization Name",
"type": "organization"
}Returns Examples
Response 200
{
"id": "12345678-1234-5678-1234-567812345678",
"name": "Organization Name",
"type": "organization"
}