SDK ReferencePython SDK

Account

API functions for the Account resource.

For AI agents: https://bytekit.com/llms.txt — every docs page is available as markdown by appending .md

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[AccountBearerResponse | AccountSessionResponse | Error]
sync(client=client) -> AccountBearerResponse | AccountSessionResponse | Error | None
await asyncio_detailed(client=client) -> Response[AccountBearerResponse | AccountSessionResponse | Error]
await asyncio(client=client) -> AccountBearerResponse | AccountSessionResponse | Error | None

On this page