PostHog Visual Review API

The visual_review API from PostHog — 22 operation(s) for visual_review.

GitHub OpenAPI
Business capability
Software Quality Engineering BC-4200.50

Operations 25

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/projects/{project_id}/visual_review/repos/ List visual review repos · Visual review repos list #
Ask an LLM
“Which repositories have visual review set up for my team?”
“Can I see all visual review repos in a project?”
Tell an agent
List visual review repos in project {project_id}.
Show every repo with visual review enabled.
POST /api/projects/{project_id}/visual_review/repos/ Add a repository to visual review · Visual review repos create #
Ask an LLM
“How do I start visual review for a new repository?”
“Can I attach an external ID when adding a repo to visual review?”
Tell an agent
Add {repo_full_name} as a visual review repo in project {project_id}.
Create a visual review repo {repo_full_name} with external ID {repo_external_id}.
GET /api/projects/{project_id}/visual_review/repos/{id}/ Get a visual review repo · Visual review repos retrieve #
Ask an LLM
“What settings does a particular visual review repo have?”
“Can I look up one visual review repo by ID?”
Tell an agent
Get visual review repo {id} in project {project_id}.
Show the settings of visual review repo {id}.
PATCH /api/projects/{project_id}/visual_review/repos/{id}/ Update a visual review repo's settings · Visual review repos partial update #
Ask an LLM
“How do I change the baseline file paths on a visual review repo?”
“Can I turn PR comments on or off for a visual review repo?”
Tell an agent
Set baseline file paths on visual review repo {id} in project {project_id} to {baseline_file_paths}.
Set PR comments to {enable_pr_comments} on visual review repo {id}.
GET /api/projects/{project_id}/visual_review/repos/{id}/baselines/ List a visual review repo's baselines · Visual review repos baselines retrieve #
Ask an LLM
“Which visual review baselines exist for a repository?”
“What is the stability sparkline for a visual review repo?”
Tell an agent
List baselines for visual review repo {id} in project {project_id}.
Show the latest baseline and stability sparkline for visual review repo {id}.
GET /api/projects/{project_id}/visual_review/repos/{id}/quarantine/ List quarantined visual review identifiers · Visual review repos quarantine list #
Ask an LLM
“Which visual review snapshots are currently quarantined?”
“Can I see quarantined identifiers for one run type only?”
Tell an agent
List quarantined identifiers in visual review repo {id} for run type {run_type} in project {project_id}.
Show the quarantine history for identifier {identifier} in visual review repo {id}.
POST /api/projects/{project_id}/visual_review/repos/{id}/quarantine/{run_type}/ Quarantine a visual review snapshot · Visual review repos quarantine create #
Ask an LLM
“How do I quarantine a visual review snapshot so it's ignored?”
“Can a quarantined visual review snapshot be set to expire automatically?”
Tell an agent
Quarantine {identifier} in visual review repo {id} for run type {run_type} in project {project_id} because {reason}.
Quarantine visual review snapshot {identifier} in repo {id} until {expires_at}.
POST /api/projects/{project_id}/visual_review/repos/{id}/quarantine/{run_type}/expire/ Expire a quarantined visual review snapshot · Visual review repos quarantine expire create #
Ask an LLM
“How do I lift the quarantine on a visual review snapshot?”
“Can I expire a quarantined visual review identifier for a run type?”
Tell an agent
Expire the quarantine on {identifier} in visual review repo {id} for run type {run_type} in project {project_id} because {reason}.
Remove the quarantine on visual review snapshot {identifier} in repo {id}.
GET /api/projects/{project_id}/visual_review/repos/{id}/thumbnails/{identifier}/ Get a visual review snapshot thumbnail · Visual review repos thumbnails retrieve #
Ask an LLM
“How do I fetch the thumbnail of a visual review snapshot?”
“Can I get a WebP thumbnail of a visual review snapshot by identifier?”
Tell an agent
Get the thumbnail for snapshot {identifier} in visual review repo {id} in project {project_id}.
Serve visual review snapshot {identifier} from repo {id}.
GET /api/projects/{project_id}/visual_review/repos/{repo_id}/runs/ List visual review runs for a repo · Visual review repos runs list #
Ask an LLM
“Which visual review runs have been run for a repository?”
“Can I list only the visual review runs for a repo that are still pending review?”
Tell an agent
List visual review runs for repo {repo_id} in project {project_id}.
Show visual review runs in repo {repo_id} with review state {review_state}.
GET /api/projects/{project_id}/visual_review/repos/{repo_id}/runs/counts/ Count visual review runs by review state · Visual review repos runs counts retrieve #
Ask an LLM
“How many visual review runs are in each review state for a repository?”
“What are the counts of visual review runs in a repo?”
Tell an agent
Count visual review runs by review state for repo {repo_id} in project {project_id}.
Show the review state totals for visual review runs in repo {repo_id}.
GET /api/projects/{project_id}/visual_review/repos/{repo_id}/snapshots/{run_type}/{identifier}/ List baseline snapshots for a visual review identifier · Visual review repos snapshots list #
Ask an LLM
“What baseline snapshots exist for a visual review identifier?”
“Can I see the deduplicated baseline timeline for a snapshot identity?”
Tell an agent
List baseline snapshots for {identifier} in visual review repo {repo_id} for run type {run_type} in project {project_id}.
Show the newest baseline for snapshot {identifier} in repo {repo_id}.
GET /api/projects/{project_id}/visual_review/runs/ List visual review runs for the team · Visual review runs list #
Ask an LLM
“Which visual review runs have been run across the whole team?”
“Can I filter visual review runs by PR number or branch?”
Tell an agent
List visual review runs in project {project_id}.
Show visual review runs in project {project_id} on branch {branch}.
POST /api/projects/{project_id}/visual_review/runs/ Create a visual review run from a CI manifest · Visual review runs create #
Ask an LLM
“How do I kick off a visual review run from my CI pipeline?”
“Can I include baseline hashes and unchanged counts when creating a visual review run?”
Tell an agent
Create a {run_type} visual review run in project {project_id} for repo {repo_id} from commit {commit_sha} on branch {branch} with snapshots {snapshots}.
Start a visual review run in project {project_id} for repo {repo_id} from commit {commit_sha} with baseline hashes {baseline_hashes}.
GET /api/projects/{project_id}/visual_review/runs/{id}/ Get a visual review run's status and summary · Visual review runs retrieve #
Ask an LLM
“What is the current status of a visual review run?”
“Can I get a summary of a visual review run by ID?”
Tell an agent
Get the status and summary of visual review run {id} in project {project_id}.
Show visual review run {id}.
POST /api/projects/{project_id}/visual_review/runs/{id}/add-snapshots/ Add snapshots to a pending visual review run · Visual review runs add snapshots create #
Ask an LLM
“How do I add more snapshots to a visual review run that is still pending?”
“Can I send baseline hashes along with snapshots when adding them to a run?”
Tell an agent
Add snapshots {snapshots} to pending visual review run {id} in project {project_id}.
Append {snapshots} to visual review run {id} with baseline hashes {baseline_hashes}.
POST /api/projects/{project_id}/visual_review/runs/{id}/approve/ Approve visual changes in a visual review run · Visual review runs approve create #
Ask an LLM
“How do I approve the visual changes in a visual review run?”
“Can I approve only certain snapshots in a visual review run?”
Tell an agent
Approve visual changes in run {id} in project {project_id}.
Approve snapshots {snapshots} in visual review run {id}.
POST /api/projects/{project_id}/visual_review/runs/{id}/auto-approve/ Auto-approve all visual changes in a run · Visual review runs auto approve create #
Ask an LLM
“How do I auto-approve every visual change in a run from the command line?”
“Can auto-approval return the baseline YAML for local writing?”
Tell an agent
Auto-approve all visual changes in run {id} in project {project_id}.
Run CLI auto-approval on visual review run {id}.
POST /api/projects/{project_id}/visual_review/runs/{id}/complete/ Complete a visual review run · Visual review runs complete create #
Ask an LLM
“How do I finish a visual review run and trigger diff processing?”
“What happens to a visual review run once it is completed?”
Tell an agent
Complete visual review run {id} in project {project_id}.
Mark visual review run {id} as complete and detect removed snapshots.
POST /api/projects/{project_id}/visual_review/runs/{id}/recompute/ Recompute quarantine and counts for a visual review run · Visual review runs recompute create #
Ask an LLM
“How do I re-evaluate quarantine and counts on a visual review run?”
“Can I re-run the CI job after re-computing a visual review run?”
Tell an agent
Recompute quarantine and counts for visual review run {id} in project {project_id}.
Re-run the CI job for visual review run {id}.
GET /api/projects/{project_id}/visual_review/runs/{id}/snapshot-history/ List change history for a visual review snapshot · Visual review runs snapshot history list #
Ask an LLM
“How has one changed snapshot in a visual review run been updated across runs?”
“Can I see the history of diffs for a single snapshot identifier?”
Tell an agent
Show change history across runs for snapshot {identifier} in review run {id} of project {project_id}.
List {limit} history entries for snapshot {identifier} in visual review run {id}, project {project_id}.
GET /api/projects/{project_id}/visual_review/runs/{id}/snapshots/ List snapshots with diffs for a visual review run · Visual review runs snapshots list #
Ask an LLM
“Which snapshots differ in a visual review run?”
“Can I get the diff results for every snapshot in a run?”
Tell an agent
List all snapshots with diff results in visual review run {id} of project {project_id}.
Show {limit} snapshots and their diffs for review run {id} in project {project_id}.
POST /api/projects/{project_id}/visual_review/runs/{id}/tolerate/ Mark a changed snapshot as tolerated · Visual review runs tolerate create #
Ask an LLM
“How do I tell a visual review run to accept a changed snapshot as a known alternate?”
“Can I mark a diff result as tolerated for a snapshot?”
Tell an agent
Mark snapshot {snapshot_id} as a tolerated alternate in visual review run {id} of project {project_id}.
Tolerate the change to snapshot {snapshot_id} in review run {id}, project {project_id}.
GET /api/projects/{project_id}/visual_review/runs/{id}/tolerated-hashes/ List known tolerated hashes for a snapshot · Visual review runs tolerated hashes list #
Ask an LLM
“Which hash values are already tolerated for a snapshot identifier?”
“What hashes are known as allowed for a snapshot in a visual review run?”
Tell an agent
List tolerated hashes for snapshot {identifier} in visual review run {id} of project {project_id}.
Show the known tolerated alternates for snapshot {identifier} in review run {id}, project {project_id}.
GET /api/projects/{project_id}/visual_review/runs/counts/ Get counts of visual review runs · Visual review runs counts retrieve #
Ask an LLM
“How many visual review runs are in progress, passed or failed?”
“What are the review state counts for a project?”
Tell an agent
Get review state counts for visual review runs in project {project_id}.
Show how many visual review runs are in each state for project {project_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/posthog:posthog-visual-review-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

posthog-visual-review-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Visual Review API
  version: 1.0.0
  description: ''
tags:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://artifacts.apis.io/posthog/openapi/posthog-visual-review-api-openapi.yml