Visual
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
GET | |
GET | |
POST | |
POST | |
GET | |
GET |
List all visual review repos
List all projects for the team.
Required API key scopes
visual_review:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /visual_review /reposExample response
Status 200
List all visual review repos
List all projects for the team.
Required API key scopes
visual_review:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /visual_review /reposExample response
Status 200
Create visual review repos
Create a new repo.
Required API key scopes
visual_review:writeRequest parameters
- repo_full_namestring
- repo_external_idinteger
Response
Example request
POST /api /projects /:project_id /visual_review /reposExample response
Status 201
Create visual review repos
Create a new repo.
Required API key scopes
visual_review:writeRequest parameters
- repo_full_namestring
- repo_external_idinteger
Response
Example request
POST /api /projects /:project_id /visual_review /reposExample response
Status 201
Retrieve visual review repos
Get a repo by ID.
Required API key scopes
visual_review:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:idExample response
Status 200
Retrieve visual review repos
Get a repo by ID.
Required API key scopes
visual_review:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:idExample response
Status 200
Update visual review repos
Update a repo's settings.
Required API key scopes
visual_review:writePath parameters
- idstring
Request parameters
- baseline_file_pathsobject
- enable_pr_commentsboolean
Response
Example request
PATCH /api /projects /:project_id /visual_review /repos /:idExample response
Status 200
Update visual review repos
Update a repo's settings.
Required API key scopes
visual_review:writePath parameters
- idstring
Request parameters
- baseline_file_pathsobject
- enable_pr_commentsboolean
Response
Example request
PATCH /api /projects /:project_id /visual_review /repos /:idExample response
Status 200
Retrieve visual review repos baselines
Snapshots overview for a repo: every identifier with a current baseline (latest non-superseded master/main run per run_type), plus tolerate counts, active quarantine state, and a 30-day stability sparkline. Capped at 5000 entries — sets truncated and returns the most recently active when exceeded. Filtering / faceting / search are all done client-side; this endpoint takes no filter query params.
Required API key scopes
visual_review:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:id /baselinesExample response
Status 200
Retrieve visual review repos baselines
Snapshots overview for a repo: every identifier with a current baseline (latest non-superseded master/main run per run_type), plus tolerate counts, active quarantine state, and a 30-day stability sparkline. Capped at 5000 entries — sets truncated and returns the most recently active when exceeded. Filtering / faceting / search are all done client-side; this endpoint takes no filter query params.
Required API key scopes
visual_review:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:id /baselinesExample response
Status 200
List all visual review repos quarantine
List quarantined identifiers. Without filter: active only. With identifier: full history.
Required API key scopes
visual_review:readPath parameters
- idstring
Query parameters
- identifierstring
- limitinteger
- offsetinteger
- run_typestring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:id /quarantineExample response
Status 200
List all visual review repos quarantine
List quarantined identifiers. Without filter: active only. With identifier: full history.
Required API key scopes
visual_review:readPath parameters
- idstring
Query parameters
- identifierstring
- limitinteger
- offsetinteger
- run_typestring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:id /quarantineExample response
Status 200
Create visual review repos quarantine
Quarantine a snapshot identifier for a specific run type.
Required API key scopes
visual_review:writePath parameters
- idstring
- run_typestring
Request parameters
- identifierstring
- reasonstring
- expires_atstring
Response
Example request
POST /api /projects /:project_id /visual_review /repos /:id /quarantine /:run_typeExample response
Status 201
Create visual review repos quarantine
Quarantine a snapshot identifier for a specific run type.
Required API key scopes
visual_review:writePath parameters
- idstring
- run_typestring
Request parameters
- identifierstring
- reasonstring
- expires_atstring
Response
Example request
POST /api /projects /:project_id /visual_review /repos /:id /quarantine /:run_typeExample response
Status 201
Create visual review repos quarantine expire
Expire all active quarantine entries for an identifier.
Required API key scopes
visual_review:writePath parameters
- idstring
- run_typestring
Request parameters
- identifierstring
- reasonstring
- expires_atstring
Example request
POST /api /projects /:project_id /visual_review /repos /:id /quarantine /:run_type /expireExample response
Status 204 No response body
Create visual review repos quarantine expire
Expire all active quarantine entries for an identifier.
Required API key scopes
visual_review:writePath parameters
- idstring
- run_typestring
Request parameters
- identifierstring
- reasonstring
- expires_atstring
Example request
POST /api /projects /:project_id /visual_review /repos /:id /quarantine /:run_type /expireExample response
Status 204 No response body
Retrieve visual review repos thumbnails
Serve a snapshot thumbnail by identifier. Returns WebP with ETag caching.
Required API key scopes
visual_review:readPath parameters
- idstring
- identifierstring
Example request
GET /api /projects /:project_id /visual_review /repos /:id /thumbnails /:identifierExample response
Status 200 WebP thumbnail image
Retrieve visual review repos thumbnails
Serve a snapshot thumbnail by identifier. Returns WebP with ETag caching.
Required API key scopes
visual_review:readPath parameters
- idstring
- identifierstring
Example request
GET /api /projects /:project_id /visual_review /repos /:id /thumbnails /:identifierExample response
Status 200 WebP thumbnail image
List all visual review repos runs
List runs in this repo, optionally filtered by review state.
Required API key scopes
visual_review:readPath parameters
- repo_idstring
Query parameters
- limitinteger
- offsetinteger
- review_statestring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:repo_id /runsExample response
Status 200
List all visual review repos runs
List runs in this repo, optionally filtered by review state.
Required API key scopes
visual_review:readPath parameters
- repo_idstring
Query parameters
- limitinteger
- offsetinteger
- review_statestring
Response
Example request
GET /api /projects /:project_id /visual_review /repos /:repo_id /runs