provider engineering_analyticsengineering_analytics GET /api/projects/{project_id}/engineering_analytics/ci_cards/
@utdk/posthog /api/projects/{project_id}/engineering_analytics/ci_cards/
engineering_analytics_ci_cards
Headline counts for the open-PR backlog: open PRs, distinct repos, stuck PRs (open, non-draft, non-bot, older than 7 days), and PRs with failing CI. The failing-CI count rests on the head-SHA join and can lag until late CI completions settle.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
source_id query
Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.
string

Try it

Authentication
Configure credentials for PostHog API
engineeringAnalyticsCiCards
GET/api/projects/{project_id}/engineering_analytics/ci_cards/
Headline counts for the open-PR backlog: open PRs, distinct repos, stuck PRs (open, non-draft, non-bot, older than 7 days), and PRs with failing CI. The failing-CI count rests on the head-SHA join and can lag until late CI completions settle.

Parameters

required

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

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

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.engineeringAnalyticsCiCards()