Claude Platform Docs

現在の組織を取得

BetaOrganization Beta.Organization.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/me

認証済みのAPIキーに関連付けられた組織の情報を取得します。

Parameters
OrganizationRetrieveParams parameters
Returns
class BetaOrganization { Type = "organization"; ID; Name; }
JsonElement Type = "organization"

Object type.

For Organizations, this is always "organization".

required string ID

ID of the Organization.

formatuuid
required string Name

Name of the Organization.

現在の組織を取得
OrganizationRetrieveParams parameters = new();

var betaOrganization = await client.Beta.Organization.Retrieve(parameters);

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