v1

latestOpenAPI 3.0.32026-07-26233989.2 KB
Developer Metrics

Get Developer PR Data

Returns pull request activity for all developers in the organization during the specified date range. Includes open/merged/closed PR counts, code change statistics, and detailed PR listings per developer. Useful for code review dashboards and throughput analysis.

post/api/metrics/developer/prs/get

Request body

platform'github' | 'gitlab' | 'bitbucket' | 'azure_devops' | 'azuredevops' required

Version control platform

orgstring required

Organization, workspace, or group name on the platform

github_base_urlstring

Base URL for GitHub (use for GitHub Enterprise Server)

gitlab_base_urlstring

Base URL for GitLab (use for self-hosted GitLab instances)

azure_devops_base_urlstring

Base URL for Azure DevOps (use for Azure DevOps Server)

bitbucket_base_urlstring

Base URL for Bitbucket (use for Bitbucket Data Center/Server)

start_datestring date required

Start of the date range (YYYY-MM-DD)

end_datestring date required

End of the date range (YYYY-MM-DD)

Example request

{
  "platform": "github",
  "org": "my-org",
  "github_base_url": "https://github.com",
  "gitlab_base_url": "https://gitlab.com",
  "azure_devops_base_url": "https://dev.azure.com",
  "bitbucket_base_url": "https://api.bitbucket.org/2.0",
  "start_date": "2025-01-01",
  "end_date": "2025-03-01"
}

Response

Developer PR data

metricstring
platformstring
orgstring
start_datestring date
end_datestring date
total_countinteger

Number of developers with PR activity

Example response

{
  "metric": "developer_pr_data"
}