v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.UsageService

GetEnvironmentSessionsTimeSeries

Gets the environment sessions time series in the specified date range, aggregated by the specified resolution.

Environment sessions count total environment starts (environment.started events), as opposed to GetActiveEnvironmentsTimeSeries which counts distinct environment IDs.

post/gitpod.v1.UsageService/GetEnvironmentSessionsTimeSeries

Request body

projectIdstring

Optional project ID to filter metrics by.

resolution'RESOLUTION_UNSPECIFIED' | 'RESOLUTION_HOURLY' | 'RESOLUTION_DAILY' | 'RESOLUTION_WEEKLY' | 'RESOLUTION_MONTHLY'

Resolution specifies the time granularity for time series data.

teamIdstring

Optional team ID to scope results to members of a specific team.

Response

Success