engineering_analytics
engineering_analytics

Open pull requests that need attention: failing CI, or stuck (open, non-draft, non-bot, older than 7 days), by the same rules as the ci_cards counts. Failing first, then newest, capped; total counts every match in the whole open backlog, however old. Cost and billable minutes can lag new CI by up to 5 minutes.

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

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/attention_pull_requests/
  • 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

repostring

'owner/name' repository to scope to when the selected source syncs several repositories (from the sources list). Defaults to the source's first repository.

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

totalinteger required

Number of open pull requests needing attention, including the ones past the cap.

limitinteger required

Maximum number of pull requests returned in items.

Changes

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