Skip to main content
GET
/
metering
/
meters
List all meters
curl --request GET \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/metering/meters \
  --header 'Authorization: Bearer <token>' \
  --header 'cdf-version: <cdf-version>'
{
  "items": [
    {
      "meterId": "atlas.monthly_ai_tokens",
      "datapoints": []
    },
    {
      "meterId": "files.storage_bytes",
      "datapoints": []
    },
    {
      "meterId": "functions.concurrent_executions",
      "datapoints": []
    }
  ],
  "nextCursor": "string"
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Headers

cdf-version
enum<string>
required
Available options:
20230101-alpha

Query Parameters

cursor
string

Cursor to use for paging through results.

limit
integer<int32>
default:1000

Return up to this many results.

Required range: x <= 1000
start
integer<int64>

Start timestamp (inclusive) for historical data, in milliseconds since epoch. When provided along with numberOfDatapoints, returns time-series data. If not provided, only the meter metadata is returned.

end
integer<int64>

End timestamp (inclusive) for historical data, in milliseconds since epoch. Defaults to the current time if not provided.

numberOfDatapoints
integer<int32>
default:0

Number of data points to return between start and end. The time range is divided into equal periods to match the number of datapoints requested. If not provided, only the meter metadata is returned.

Required range: 0 <= x <= 600

Response

A list of meters. Returns meter metadata unless 'start' and 'numberOfDataPoints' are provided. When they are provided, includes historical time-series data with averaged values.

A list of metering data items. The datapoints array is empty unless start and numberOfDatapoints are provided in the request.

items
object[]
required
nextCursor
string

Cursor to get the next page of results (if available).

Last modified on April 23, 2026