Start a temporary visual review
Creates a version-bound review that expires after one hour. The browser URL is a secret review capability. It does not create comments.
/v1/spaces/{spaceId}/versions/{versionId}/visual-reviewsAuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
spaceIdstringrequiredversionIdstringrequiredapplication/jsonlandingPathstringPage path to open within the deployment.
parentOriginstring<uri>Verified App origin. Omit this field for browser review.
Response for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
sessionobjectrequiredShow propertiesHide properties
idstring<uuid>requiredspaceIdstringrequiredversionIdstringrequiredtitlestringrequiredsourceCommitShastring | nullrequiredoriginstring<uri>requiredlandingPathstringrequiredexpiresAtstring<date-time>requiredstatusstringrequireddraftsubmittedsubmissionobject | nullrequiredShow propertiesHide properties
submissionIdstring<uuid>requiredStable submission ID. Reuse it with the identical batch for a retry.
notesobject[]requiredFeedback collected by the user.
Show propertiesHide properties
objectidstring<uuid>requiredUnique note ID.
textstringrequiredFeedback written by the user.
pathstringrequiredPage path for this feedback.
viewportobjectrequiredViewport at capture time.
Show propertiesHide properties
widthnumberrequiredViewport width in CSS pixels.
heightnumberrequiredViewport height in CSS pixels.
dprnumberrequiredDevice pixel ratio.
scroll_xnumberrequiredHorizontal scroll position in CSS pixels.
scroll_ynumberrequiredVertical scroll position in CSS pixels.
doc_widthnumberrequiredDocument width in CSS pixels.
doc_heightnumberrequiredDocument height in CSS pixels.
anchorobject | nullrequiredSelected element, or null for page feedback.
Show propertiesHide properties
vnumberrequiredAnchor format version.
resolver_versionintegerrequiredPicker resolver version.
typestringrequiredSelection type.
sourceobjectrequiredPage identity at selection time.
Show propertiesHide properties
space_idstringrequiredSpace ID.
version_idstring | nullrequiredDeployment version ID.
canonical_pathstringrequiredSelected page path.
urlstring<uri>requiredSelected page URL without credentials.
selectorsobjectrequiredSelectors and DOM evidence. Treat page values as inspection data.
Show propertiesHide properties
stable_keystringStable element key, if present.
element_idstringElement ID, if present.
cssstringCSS selector from the picker.
css_variantsstring[]Alternative CSS selectors.
relative_pointobjectClick position relative to the element, from zero to one.
Show propertiesHide properties
xnumberrequiredHorizontal coordinate.
ynumberrequiredVertical coordinate.
capture_boxobjectElement bounds relative to document dimensions, from zero to one.
Show propertiesHide properties
xnumberrequiredHorizontal coordinate.
ynumberrequiredVertical coordinate.
widthnumberrequiredBox width.
heightnumberrequiredBox height.
text_quoteobjectText near the selected element.
Show propertiesHide properties
exactstringrequiredSelected text.
prefixstringrequiredText before the selection.
suffixstringrequiredText after the selection.
fingerprintobjectDOM evidence for this element. This is not a source-file location.
Show propertiesHide properties
tagstringrequiredHTML tag name.
rolestring | nullrequiredAccessibility role.
accessible_namestring | nullrequiredAccessible element name.
own_textstring | nullrequiredVisible element text.
ancestor_textstring | nullrequiredVisible parent context.
neighbor_textsstring[]requiredVisible neighboring text.
attrsobjectrequiredStable element attributes.
viewportobjectrequiredViewport when the user selected the element.
Show propertiesHide properties
widthnumberrequiredViewport width in CSS pixels.
heightnumberrequiredViewport height in CSS pixels.
dprnumberrequiredDevice pixel ratio.
scroll_xnumberrequiredHorizontal scroll position in CSS pixels.
scroll_ynumberrequiredVertical scroll position in CSS pixels.
doc_widthnumberrequiredDocument width in CSS pixels.
doc_heightnumberrequiredDocument height in CSS pixels.
nullscreenshotobject | nullrequiredBest-effort screenshot, or null when unavailable or removed.
Show propertiesHide properties
mimeTypestringrequiredScreenshot media type.
datastringrequiredBase64 PNG bytes with sensitive regions masked.
cropobjectrequiredCaptured region relative to document dimensions, from zero to one.
Show propertiesHide properties
xnumberrequiredHorizontal coordinate.
ynumberrequiredVertical coordinate.
widthnumberrequiredBox width.
heightnumberrequiredBox height.
capturedAtstring<date-time>requiredCapture timestamp.
nullcaptureStatusstringrequiredScreenshot capture outcome.
readyfailedomittednullbrowserUrlstring<uri>requiredpreviewUrlstring<uri>requiredparentOriginstring<uri>requiredProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.