v1

latestOpenAPI 3.1.02026-07-26106201349.6 KB
Gateway

Get Account

get/v1/accounts/{account_id}

Path parameters

account_idstring required

The Account Id

Query parameters

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

namestring
displayNamestring

Human-readable display name of the account. e.g. "My Account" Must be fewer than 64 characters long.

createTimestring date-time

The creation time of the account.

accountType'ACCOUNT_TYPE_UNSPECIFIED' | 'ENTERPRISE'
emailstring required

The primary email for the account. This is used for billing invoices and account notifications.

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
suspendState'UNSUSPENDED' | 'FAILED_PAYMENTS' | 'CREDIT_DEPLETED' | 'MONTHLY_SPEND_LIMIT_EXCEEDED' | 'BLOCKED_BY_ABUSE_RULE'
updateTimestring date-time

The update time for the account.

productivityOnlyboolean

Marks this account as productivity/coding-only. Set once at account creation.