Skip to content
Ona Docs

Usage

UsageService provides usage information about environments, users, and projects.

ListEnvironmentUsageRecords
POST/gitpod.v1.UsageService/ListEnvironmentUsageRecords
ModelsExpand Collapse
EnvironmentUsageRecord object { id, createdAt, environmentClassId, 5 more }

EnvironmentUsageRecord represents a record of an environment from start to stop.

id: optional string

Environment usage record ID.

createdAt: optional string

Time when the environment was created.

formatdate-time
environmentClassId: optional string

Environment class ID associated with the record.

environmentId: optional string

Environment ID associated with the record.

projectId: optional string

Project ID associated with the environment (if available).

runnerId: optional string

Runner ID associated with the environment.

stoppedAt: optional string

Time when the environment was stopped.

formatdate-time
userId: optional string

User ID is the ID of the user who created the environment associated with the record.