engineering_analytics
engineering_analytics

The timeline of a single pull request: header plus ordered events (opened, CI started/finished, merged or closed). Use this to answer 'where is this PR stuck and what happened to it'. This is a partial view: review and comment events are not yet available.

get/api/projects/{project_id}/engineering_analytics/pr_lifecycle/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/pr_lifecycle/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

pr_numberinteger required

Pull request number to inspect.

repostring required

'owner/name' repository the pull request belongs to.

source_idstring uuid

Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.

Response

metric_quality'precise' | 'coarse' | 'partial'
  • precise - Precise
  • coarse - Coarse
  • partial - Partial

Changes

No recorded changes to this operation across all 1 revision of this API.