Aktuelle Organisation abrufen
GET/v1/organizations/me
Ruft Informationen über die Organisation ab, die mit dem authentifizierten API-Key verknüpft ist.
Returns
Aktuelle Organisation abrufen
<?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"
}