Delivery and CI friction for one author or one GitHub team over a window (date_from default -30d), each figure next to the same figure over the whole repository: CI spend per merged PR, ready to merged split at the first approval, pushes after approval, merge-queue attempts, and lead time to deploy. Bots and drafts are excluded. Figures whose optional source isn't synced are null and flagged.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/delivery_summary/
- Auth: HTTP bearer
Path parameters
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
GitHub login: scope the read to this author's pull requests. Pass exactly one scope.
Window start: relative ('-30d', '-8w') or ISO8601. Defaults to -30d.
Window end: relative or ISO8601. Defaults to now.
GitHub team slug: scope the read to pull requests authored by the team's members, through the team membership table. Pass exactly one scope.
'owner/name' repository. Required with pr_number; otherwise it picks the repository when the selected source syncs several.
Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.