EndpointsGet Workspace billing

Billing accounts

Get Workspace billing

The linked account and whether billing is enabled.

GET/workspaces/{id}/billing_info
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

idstringrequired

Required string length: 1 - 53

Response

application/json

WorkspaceBillingInfo

namestringrequired

Example: "workspaces/ws_j572abc/billingInfo"

workspace_idstringrequired

Required string length: 2 - 53

billing_accountstring | nullrequired

Pattern: ^billingAccounts\/bac_[A-Za-z0-9]+$

Example: "billingAccounts/bac_4kQ9mXr2Tz7Lw1"

billing_enabledbooleanrequired