ナビゲーションにスキップ

Get account usage and concurrency

The account’s balance, spend and breakdowns. Without period the counts cover the whole account history; with period they cover the window ending now, and the reply repeats period, since and until so a caller can tell which figure it got. credit_balance and concurrency are always current. A query parameter other than period, or a period outside the set, is refused with 400 rather than ignored.

認証

AuthorizationBearer

Send your API key as Authorization: Bearer <BEATAPI_API_KEY>.

クエリパラメータ

periodenumオプションデフォルト値 all

The window the counts and breakdowns cover, ending now. all (the default) is the whole account history.

許可された値:

レスポンス

Usage summary
dataobject

エラー

400
Bad Request Error
401
Unauthorized Error