Skip to main content
inputCreditUsageInput

Fields

currencyId
String

The currency ID to filter credit usage by specific currency

customerId
String!
required

The customer ID of the credit usage

endDate
DateTime

The end date for the credit usage time range (defaults to now when startDate is provided)

environmentId
UUID

The environment ID of the credit usage

groupBy
[String!]

Keys to group usage series by: up to 3 custom dimension keys, optionally combined with the reserved key featureId to also split each series by feature (e.g. ["featureId", "userId"])

Cursor-based pagination input

resourceId
String

The resource ID of the credit usage

startDate
DateTime

The start date for the credit usage time range (takes precedence over timeRange when provided)

timeRange
default:LAST_MONTH

The time range for the credit usage