vision

Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires editor access to the scanner.

post/api/projects/{project_id}/vision/observations/{id}/label/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/vision/observations/{id}/label/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this replay observation.

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/.

Request body

is_correctboolean required

True if the scanner scored this session correctly, false if not.

feedbackstring

Optional written context on the rating, for thumbs-up and thumbs-down alike: what the scanner got right or wrong, or what it should have concluded.

Response

is_correctboolean required

True if the scanner scored this session correctly, false if not.

feedbackstring

Optional written context on the rating, for thumbs-up and thumbs-down alike: what the scanner got right or wrong, or what it should have concluded.

Changes

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