v18

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

GetPrSummary

Gets aggregated PR speed summary for the organization or a specific project.

Use this method to:

  • Measure pull request lead time and review latency
  • Calculate deployment frequency from merged pull requests
  • Scope PR speed 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/GetPrSummary

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