v18

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

GetEnvironmentRuntime

Gets the total runtime of all environments in the specified date range.

post/gitpod.v1.UsageService/GetEnvironmentRuntime

Request body

projectIdstring

Optional project ID to filter metrics by.

teamIdstring

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

Response

Success

totalRuntimeSecondsstring

Total runtime in seconds.

trendnumber double

Fractional change in total runtime vs previous period. Computed as (current - previous) / previous.