visual_review

Add a batch of snapshots to a pending run (shard-based flow).

post/api/projects/{project_id}/visual_review/runs/{id}/add-snapshots/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/visual_review/runs/{id}/add-snapshots/
  • Auth: HTTP bearer

Path parameters

idstring required
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

baseline_hashesobject
story_index_hashstring

SHA-256 of the story-to-file map the CLI built from the Storybook index.json of this run's build. Every shard of a run sends the same value. Empty when the run sends no map.

Response

addedinteger required

Changes

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