Skip to content
Console(opens in a new tab)

account

Returns the account and billing details of the API key that sends the request, such as the pricing plan and the credit status.

Intent. This intent is a read. It returns data and changes nothing.

Returns the account and billing details of the API key that sends the request, such as the pricing plan and the credit status.

account: Account

Returns Account.

query {
account {
customerId
customerEmail
billingAccountId
pricingPlan
}
}

Response, as returned:

{
"data": {
"account": {
"customerId": "00000000-0000-4000-8000-000000000001",
"customerEmail": "user@example.com",
"billingAccountId": "00000000-0000-4000-8000-000000000002",
"pricingPlan": "ENTERPRISE"
}
}
}