review_hog

Enable or disable a review perspective

Toggle whether a review-hog-perspective-* skill runs on the requesting user's PR reviews. Only skills visible to the user — the canonicals plus the customs they authored — can be toggled; anything else 404s. Upserts the per-user config row, so enabling a freshly authored custom perspective works in one call. Rejected if it would leave the user with no enabled perspective.

patch/api/projects/{project_id}/review_hog/perspectives/{skill_name}/

Request

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

skill_namestring required

Request body

enabledboolean

Set true to run this perspective on the user's PR reviews, false to stop running it.

Response

The perspective's updated enable state.

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.