review_hog

Perspective effectiveness stats

How many findings each review skill (perspective or blind-spot sweep) raised across the recent completed reviews in scope — the requesting user's by default, every review on this project with scope=everyone, the user's own last Deep reviews with scope=own_deep — and how many of those the validator kept vs dismissed.

get/api/projects/{project_id}/review_hog/reviews/perspective_stats/

Request

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

Query parameters

scope'mine' | 'everyone' | 'own_deep'

Whose reviews to aggregate: mine (the default) for reviews the requesting user ran plus reviews of pull requests they authored (matched via their linked GitHub login), everyone for every review on this project, own_deep for the last 10 Deep reviews the requesting user started. The review skills in the settings use own_deep, because only the person who starts a Deep review picks its skills.

  • mine - Mine
  • everyone - Everyone
  • own_deep - Own Deep reviews

Response

Per-skill effectiveness across the recent completed reviews in scope.

report_countinteger required

How many recent completed reviews the stats aggregate over.

Changes

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