Skip to main content
QUERY
usage(period: UsagePeriodInput!, workspaceUid: String): Usage

Arguments

period

The period to sum usage over.

workspaceUid
String

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

Returns

When the period starts, in UTC.

When the period ends, excluded, in UTC.

DinoAI credits, summed over the workspaces.

Billed Bolt run time, summed over the workspaces.

The same period's usage, one workspace at a time.

Arguments
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.

Query
Variables
Response