Skip to main content
QUERY
consumptionBudgets(unit: ConsumptionUnit, workspaceUid: String, scopes: [ConsumptionBudgetScope!], first: Int, after: String): ConsumptionBudgetConnection!

Arguments

unit
default:DINOAI_CREDITS

What the budgets count; DINOAI_CREDITS by default.

workspaceUid
String

The uid of one workspace whose budgets to list. Leave it out for every workspace the key can reach: a workspace key's own, or every workspace a company API key is allowed.

Only budgets of these scopes; every scope when left out, and none for an empty list.

first
Int
default:100

How many to return: 100 by default, at most 500. 0 returns only totalCount.

after
String

The endCursor of the previous page.

This page, in order.

pageInfo

Where this page sits in the list.

totalCount
Int!

How many there are across all pages.

Query
Response