v1

latestOpenAPI 3.0.32026-07-26233989.2 KB
Developer Metrics

Get Developer Comparison

Retrieves a developer's productivity metrics compared against the organization average. Includes commit activity, PR statistics, code review contributions, and more. Useful for individual performance dashboards and 1:1 reviews.

post/api/metrics/developer/comparison/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)

authorstring required

Git author login/email to analyze

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",
  "author": "janedoe"
}

Response

Developer comparison data

metricstring
platformstring
orgstring
authorstring
start_datestring date
end_datestring date
org_contextobject

Organization-wide averages and context data

developerobject

Individual developer metrics and activity data

Example response

{
  "metric": "dev_comparison"
}