budgets

List the budgets the caller may manage with their usage this month, for one project or narrowed to a member or API key.

Arguments

  • inputBudgetListInput

  • input.projectReferenceString

  • input.userIdID

  • input.apiKeyIdID

  • input.cursorString

  • input.limitInt

    Page size, 1 to 100. Default 20.

Responses

query Budgets {  budgets {    data {      id      monthlyLimitCredits      monthlyLimitUsd      createdAt      updatedAt    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "budgets": {      "data": [        {          "id": "string",          "monthlyLimitCredits": 0,          "monthlyLimitUsd": 0,          "createdAt": "string",          "updatedAt": "string"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The BudgetPage! in data.budgets.