stamphog

History of stamphog review runs, filterable by repository, PR number, and status, plus manual review requests.

get/api/projects/{project_id}/stamphog/review_runs/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/stamphog/review_runs/{id}/
  • Auth: HTTP bearer

Path parameters

idstring required
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 uuid required
pull_requeststring uuid required

ID of the pull request this review run belongs to.

repositorystring required

Full name of the repository this review run belongs to.

pr_numberinteger required

Pull request number on GitHub.

pr_urlstring required

Full URL to the pull request on GitHub.

titlestring required

Pull request title as of the last webhook delivery applied.

author_loginstring required

GitHub login of the pull request author.

head_shastring required

Commit SHA of the PR head at the time this run started.

head_branchstring required

Branch name of the PR head.

delivery_idstring nullable required

GitHub webhook delivery ID that triggered this run, used for deduplication.

trigger'self_driving' | 'manual' | 'label' | 'all' required
  • self_driving - SELF_DRIVING
  • manual - MANUAL
  • label - LABEL
  • all - ALL
status'queued' | 'gated' | 'reviewing' | 'completed' | 'failed' | 'superseded' required
  • queued - QUEUED
  • gated - GATED
  • reviewing - REVIEWING
  • completed - COMPLETED
  • failed - FAILED
  • superseded - SUPERSEDED
verdict'none' | 'approved' | 'refused' | 'escalate' | 'wait' | 'error' required
  • none - NONE
  • approved - APPROVED
  • refused - REFUSED
  • escalate - ESCALATE
  • wait - WAIT
  • error - ERROR
errorstring required

Error message if the run failed, blank otherwise.

posted_review_idinteger nullable required

ID of the GitHub review this run posted, null if it never posted one.

verdict_posted_atstring date-time nullable required

When this run's verdict reached GitHub, null if it never did.

approval_dismissed_atstring date-time nullable required

When this run's GitHub approval was retracted because the head moved, null if it wasn't.

created_atstring date-time required

When the review run was created.

updated_atstring date-time required

When the review run was last updated.

completed_atstring date-time nullable required

When the review run reached a terminal state, if it has.

Changes

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