Usage
usage
Methods
post/gitpod.v1.UsageService/ListEnvironmentSessions
Lists completed environment sessions within a specified date range.
Returns a list of environment sessions that were completed within the specified date range. Currently running sessions are not included.
Use this method to:
- View environment sessions
- Filter by project
- Monitor session activity
- Create custom usage reports
Example
filter:
projectId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
dateRange:
startTime: "2024-01-01T00:00:00Z"
endTime: "2024-01-02T00:00:00Z"
pagination:
pageSize: 100
Domain types
EnvironmentSession = { id, createdAt, environmentClassId, 5 more... }