Skip to content
gist.link ↗

billingStatus

Query Billing API — POST https://billing.api.gist.link/graphql

Whether the caller’s organization is billed at all. Only the suite operator org (GistLink’s own account, auth’s SUITE_OPERATOR) is never billed — clients use this to replace billing actions with a “not billed” notice. Any org member.

billing:query:billingStatus

The calling IAM key must hold this permission (or a wildcard that covers it: billing:query:* or billing:*) and the access token must have been minted with audience=billing. See Permissions.

type Query {
billingStatus: BillingStatus!
}

This query takes no arguments.

BillingStatus! — see the Billing types reference.

Terminal window
curl https://billing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query BillingStatus { billingStatus { organization_id suite_operator billed message } }",
"variables": {}
}
JSON