List budgets

budgets(input: BudgetListInput): BudgetPage!

Arguments

ArgumentTypeRequired
inputBudgetListInputNo

Input fields

input

BudgetListInput

FieldTypeRequiredDescription
projectReferenceStringNo
userIdIDNo
apiKeyIdIDNo
cursorStringNo
limitIntNoPage size, 1 to 100. Default 20.

Response

Returns BudgetPage!. Open the type for its fields and nested types.

FieldType
data[Budget!]!
pageInfoPageInfo!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query Budgets($input: BudgetListInput) {
  budgets(input: $input) {
    data {
      id
      createdAt
      updatedAt
      monthlyLimitCredits
      monthlyLimitUsd
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{}