UsageStats is a datatype for statistics of system usage. It's used by the usage() query field.

Table: UsageStats

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Oct 12, 2026
currentStats(queryId: String)CurrentUsageQueryResultyes Long-TermCurrent usage measurements and limits for ingest, storage, scanned data and users. See CurrentUsageQueryResult.
firstUsageTimeStampLongyes Long-TermThe date and time of first usage.
limitInt,   The amount of results to return.
orderByOrderBy,sortBy:RepositoriesUsageQuerySortBy,queryId:String):RepositoriesUsageQueryResultTypesyes Long-TermChoose the order in which the results are returned.
searchFilterString,   Filter results based on this string
skipInt,   The number of results to skip or the offset to use. For instance if implementing pagination, set skip = limit * (page - 1)