Get service connection usage

GET
/api/v2/usage/service-connections

Get a time-series array of the number of monthly service connections from your account. The granularity is always daily, with a maximum of 31 days.

Query parameters

fromstringOptional

The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.

tostringOptional

The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.

projectKeystringOptional

A project key. If specified, environmentKey is required and results apply to the corresponding environment in this project.

environmentKeystringOptional

An environment key. If specified, projectKey is required and results apply to the corresponding environment in this project.

Response

Usage response

serieslist of objects

An array of timestamps and values for a given meter

Errors

Built with