Ambil informasi tentang organisasi yang terkait dengan kunci API yang diautentikasi.
Returns
Dapatkan Organisasi Saat Ini
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
organization_info = client.organization.retrieve()
print(organization_info.id)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"
}