Default-branch health as compact chart points over a window (default -30d), newest first, for the repo-hub run-activity chart. All of a commit's workflow runs are collapsed into ONE point per commit (head SHA): its earliest workflow start, wall-clock duration until the last workflow settled (null while any is still running), and an overall conclusion that is 'failure' if any workflow decisively failed, else 'success' when at least one passed, else 'neutral'. branch overrides the detected default branch. truncated is true when more commits matched than the cap, so the chart covers only the most recent commits.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/repo_run_activity/
- 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
Optional exact git branch (head_branch) to chart, e.g. 'main'. Omit or leave blank to use the repo's detected default branch.
Window start: relative ('-30d', '-8w') or ISO8601. Defaults to -30d.
Window end: relative or ISO8601. Defaults to now.
'owner/name' repository to scope to when the selected source syncs several repositories (from the sources list). Defaults to the source's first repository.
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.