擷取與已驗證 API 金鑰相關聯之組織的資訊。
Returns
取得目前組織
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
organization_info = anthropic.organization.retrieve
puts(organization_info)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"
}