v18

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

GetAgentTraceSummary

Gets aggregated agent trace summary for the organization or a specific project.

Use this method to:

  • Measure agent sessions and line changes
  • Break down agent activity by model
  • Scope agent trace insights to a project, user, or team

Example

dateRange:
  startTime: "2024-01-01T00:00:00Z"
  endTime: "2024-02-01T00:00:00Z"
projectId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
post/gitpod.v1.UsageService/GetAgentTraceSummary

Request body

projectIdstring

Optional project ID to scope results.

teamIdstring

Optional team ID to scope results to a specific team. Mutually exclusive with user_id.

userIdstring

Optional user ID to scope results to a specific user. Mutually exclusive with team_id.

Response

Success