review_hog

Select the active resolution criteria

Make a review-hog-resolution-* skill the single criteria the resolution stage applies on the requesting user's PRs, switching the user's other resolution skills off in the same call. Only skills visible to the user — the canonical plus the customs they authored — can be selected; anything else 404s. Upserts the per-user config row, so selecting a freshly authored custom skill works in one call.

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

Request

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

activeboolean

Set true to make these the single resolution criteria applied on the user's PRs. Only true is accepted — resolution criteria are single-active, so you switch by selecting a different skill, not by deactivating the current one.

Response

The resolution criteria now active for the user.

skill_namestring required

Name of the review-hog-resolution-* skill this row represents (the criteria's identity).

activeboolean required

Whether these criteria drive the resolution stage on the requesting user's PRs on this project.

descriptionstring required

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

bodystring required

The resolution 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.