provider signals GET /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/diff/
@utdk/posthog /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/diff/
Fetch the diff for a commit artefact
Fetch the unified diff of a `commit` artefact's branch against the repository default branch via the team's GitHub integration — using the branch's current tip so the diff reflects the latest state of the work, not just the single recorded commit.
id path required
A UUID string identifying this signal report artefact.
string
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
report_id path required
UUID of the report whose artefacts you're addressing. This must be a report id (the report's own UUID), not a signal id such as `sig_praise` — a non-report id returns 404.
string

Try it

Authentication
Configure credentials for PostHog API
signalsReportArtefactsDiff
GET/api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/diff/
Fetch the unified diff of a `commit` artefact's branch against the repository default branch via the team's GitHub integration — using the branch's current tip so the diff reflects the latest state of the work, not just the single recorded commit.

Parameters

required

A UUID string identifying this signal report artefact.

required

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

required

UUID of the report whose artefacts you're addressing. This must be a report id (the report's own UUID), not a signal id such as `sig_praise` — a non-report id returns 404.

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.signalsReportArtefactsDiff()