review_hog

List review perspectives and their enablement

List the review-hog-perspective-* skills visible to the requesting user — the canonical perspectives plus the customs they authored — joined with their enable state. The 3 canonical perspectives are auto-seeded enabled on the first read; a custom perspective the user has not switched on shows as disabled.

get/api/projects/{project_id}/review_hog/perspectives/

Request

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

Every review perspective on this project with the user's enable state, by skill name.

skill_namestring required

Name of the review-hog-perspective-* skill this row toggles (the perspective's identity).

enabledboolean required

Whether this perspective runs on the acting user's PR reviews on this project.

descriptionstring required

The perspective skill's description, for display in the config UI.

bodystring required

The perspective skill's SKILL.md body, for the read-only skill viewer.

Changes

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