SDK ReferencePython SDK
Account
API functions for the Account resource.
Account
Functions for interacting with the account API resource. Each operation ships in four forms — sync / sync_detailed and their async counterparts.
Get Account
Get account details
Returns account, plan, and current API key details, including the
api_key and subscription fields.
Call styles
sync_detailed(client=client) -> Response[Union[Error, Union['AccountBearerResponse', 'AccountSessionResponse']]]
sync(client=client) -> Optional[Union[Error, Union['AccountBearerResponse', 'AccountSessionResponse']]]
await asyncio_detailed(client=client) -> Response[Union[Error, Union['AccountBearerResponse', 'AccountSessionResponse']]]
await asyncio(client=client) -> Optional[Union[Error, Union['AccountBearerResponse', 'AccountSessionResponse']]]