engineering_analytics
engineering_analytics

The team's selectable GitHub repositories, oldest source first: one entry per repository a source is configured to sync, so a source syncing several repositories appears once per repo. Populate a repo picker from this and pass a chosen entry's id back as source_id and its repo back as repo to the other endpoints. Includes repositories whose tables aren't fully synced yet.

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

Request

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

Response

idstring required

Source id: pass back as source_id (with repo) to read this repository.

repostring required

Repository as 'owner/name': pass back as repo to scope to it. One entry per repository a source syncs; '' if unknown.

prefixstring required

User-chosen warehouse table-name prefix for this source, or '' when none.

syncedboolean

Whether this repo has both pull_requests and workflow_runs synced (readable now). Default the picker to the first synced entry so its label matches the resolved repo.

Changes

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