Find out what consumed your credits and how much remains, without leaving the terminal. These commands only read. Change your plan, buy credits and manage payment in Billing; see Billing and credits.
See your organization
graphops orgs show summarizes your organization: plan, available credits, active API keys and
service access. graphops orgs products lists its data services.
Read usage
graphops usage daily --from 30dshows credits consumed per day, today and the 29 days before;usage hourlycovers up to 90 days andusage windowslists the usage records billing settles. Each row shows whether its period iscompleteorin progress. Times are UTC.- Add
--by-attributiontousage dailyorusage hourlyto see what consumed credits: each row names its API key and its Managed Subgraph or Endpoint Alias, followed by the credits per API key and per resource.usage windowsalways shows them. A credential that can't list API keys, Managed Subgraphs or Endpoint Aliases sees their IDs instead. - Filter by
--product(rpc,subgraphsorsubstreams),--api-keywith an API key's name or its API key ID such asgqk_0123456789abcdef01234567, or resource.
Choose a time range
--from and --to take a UTC timestamp such as 2026-11-01T00:00:00Z, a UTC date such as
2026-11-01, today or yesterday. A date in --to includes that whole day.
--from monthstarts at the first of this calendar month in UTC.--from periodstarts at the beginning of your current billing period, which follows your plan's renewal date. It needs a plan.- A duration counts whole days or hours, the current one included:
usage daily --from 7dis today and the 6 days before, andusage hourly --from 24his this hour and the 23 before.
Check credits and billing
graphops credits showshows your balance.graphops credits ledgerlists its entries: each usage charge names its data service, API key, resource and usage window, and other entries say whether they are a top-up, a plan invoice, expiring plan credits, a refund or an adjustment.graphops billing showshows your plan and subscription, its current billing period, whether your invoices are paid, whether you can buy top-ups, automatic top-ups and service access.billing top-ups,billing notificationsandbilling cataloglist orders, notification settings and prices.
Next steps
Last updated
Manage Subgraphs and Endpoint Aliases
List, rename, retarget and delete Managed Subgraphs and Endpoint Aliases from the GraphOps CLI, and explore published Subgraphs before you query them.
Scripts, CI and coding agents
Read the GraphOps CLI's JSON output in scripts, sign in a CI job as a service account, pin the CLI version, and let a coding agent use the CLI as you.