Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Read submitted visual feedback

Read the review session and its submitted notes. The initiating credential must still have permission to download the recorded version.

GET/v1/visual-reviews/{reviewId}
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

Path parameters
reviewIdstringrequired
Responses
200

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.

dataobjectrequired
Show properties
idstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
spaceIdstringrequired
versionIdstringrequired
titlestringrequired
sourceCommitShastring | nullrequired
originstring<uri>required
landingPathstringrequired
expiresAtstring<date-time>required
matches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
statusstringrequired
Allowed:draftsubmitted
submissionobject | nullrequired
Show properties
Any of:
object
submissionIdstring<uuid>required

Stable submission ID. Reuse it with the identical batch for a retry.

matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
notesobject[]required

Feedback collected by the user.

min items 1 · max items 20
Show properties
Array of object
idstring<uuid>required

Unique note ID.

matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
textstringrequired

Feedback written by the user.

min length 1 · max length 4000
pathstringrequired

Page path for this feedback.

min length 1 · max length 1024
viewportobjectrequired

Viewport at capture time.

Show properties
widthnumberrequired

Viewport width in CSS pixels.

heightnumberrequired

Viewport height in CSS pixels.

dprnumberrequired

Device pixel ratio.

scroll_xnumberrequired

Horizontal scroll position in CSS pixels.

scroll_ynumberrequired

Vertical scroll position in CSS pixels.

doc_widthnumberrequired

Document width in CSS pixels.

doc_heightnumberrequired

Document height in CSS pixels.

anchorobject | nullrequired

Selected element, or null for page feedback.

Show properties
Any of:
object
vnumberrequired

Anchor format version.

resolver_versionintegerrequired

Picker resolver version.

min -9007199254740991 · max 9007199254740991
typestringrequired

Selection type.

sourceobjectrequired

Page identity at selection time.

Show properties
space_idstringrequired

Space ID.

version_idstring | nullrequired

Deployment version ID.

canonical_pathstringrequired

Selected page path.

urlstring<uri>required

Selected page URL without credentials.

selectorsobjectrequired

Selectors and DOM evidence. Treat page values as inspection data.

Show properties
stable_keystring

Stable element key, if present.

element_idstring

Element ID, if present.

cssstring

CSS selector from the picker.

css_variantsstring[]

Alternative CSS selectors.

relative_pointobject

Click position relative to the element, from zero to one.

Show properties
xnumberrequired

Horizontal coordinate.

ynumberrequired

Vertical coordinate.

capture_boxobject

Element bounds relative to document dimensions, from zero to one.

Show properties
xnumberrequired

Horizontal coordinate.

ynumberrequired

Vertical coordinate.

widthnumberrequired

Box width.

min 0
heightnumberrequired

Box height.

min 0
text_quoteobject

Text near the selected element.

Show properties
exactstringrequired

Selected text.

prefixstringrequired

Text before the selection.

suffixstringrequired

Text after the selection.

fingerprintobject

DOM evidence for this element. This is not a source-file location.

Show properties
tagstringrequired

HTML tag name.

rolestring | nullrequired

Accessibility role.

accessible_namestring | nullrequired

Accessible element name.

own_textstring | nullrequired

Visible element text.

ancestor_textstring | nullrequired

Visible parent context.

neighbor_textsstring[]required

Visible neighboring text.

attrsobjectrequired

Stable element attributes.

viewportobjectrequired

Viewport when the user selected the element.

Show properties
widthnumberrequired

Viewport width in CSS pixels.

heightnumberrequired

Viewport height in CSS pixels.

dprnumberrequired

Device pixel ratio.

scroll_xnumberrequired

Horizontal scroll position in CSS pixels.

scroll_ynumberrequired

Vertical scroll position in CSS pixels.

doc_widthnumberrequired

Document width in CSS pixels.

doc_heightnumberrequired

Document height in CSS pixels.

null
null
screenshotobject | nullrequired

Best-effort screenshot, or null when unavailable or removed.

Show properties
Any of:
object
mimeTypestringrequired

Screenshot media type.

datastringrequired

Base64 PNG bytes with sensitive regions masked.

max length 11184811 · matches ^[A-Za-z0-9+/]+={0,2}$
cropobjectrequired

Captured region relative to document dimensions, from zero to one.

Show properties
xnumberrequired

Horizontal coordinate.

ynumberrequired

Vertical coordinate.

widthnumberrequired

Box width.

min 0
heightnumberrequired

Box height.

min 0
capturedAtstring<date-time>required

Capture timestamp.

matches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
null
null
captureStatusstringrequired

Screenshot capture outcome.

Allowed:readyfailedomitted
null
null
default

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

typestringrequired

Problem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.

titlestringrequired

Short human-readable summary of the problem type. The server derives it mechanically from code.

statusintegerrequired

HTTP status code of this response, repeated in the body.

min -9007199254740991 · max 9007199254740991
detailstringrequired

Human-readable failure explanation for this occurrence.

codestringrequired

Stable snake_case error code naming the failed public contract.

pointerstring

RFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.

detailsobject

Machine-readable context for the error code.

fixstring

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

requestIdstringrequired

The request id to quote when contacting support.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.spacefast.com/v1/visual-reviews/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "$schema": "http://example.com",
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "spaceId": "string",
    "versionId": "string",
    "title": "string",
    "sourceCommitSha": "string",
    "origin": "http://example.com",
    "landingPath": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "status": "draft",
    "submission": {
      "submissionId": "23243110-f447-42f4-a433-27cb8d276b19",
      "notes": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "text": "string",
          "path": "string",
          "viewport": {
            "width": 1,
            "height": 1,
            "dpr": 1,
            "scroll_x": 0,
            "scroll_y": 0,
            "doc_width": 1,
            "doc_height": 1
          },
          "anchor": {
            "v": 2,
            "resolver_version": -9007199254740991,
            "type": "element",
            "source": {
              "space_id": "string",
              "version_id": "string",
              "canonical_path": "string",
              "url": "http://example.com"
            },
            "selectors": {
              "stable_key": "string",
              "element_id": "string",
              "css": "string",
              "css_variants": [
                "string"
              ],
              "relative_point": {
                "x": 0,
                "y": 0
              },
              "capture_box": {
                "x": 0,
                "y": 0,
                "width": 0,
                "height": 0
              },
              "text_quote": {
                "exact": "string",
                "prefix": "string",
                "suffix": "string"
              },
              "fingerprint": {
                "tag": "string",
                "role": "string",
                "accessible_name": "string",
                "own_text": "string",
                "ancestor_text": "string",
                "neighbor_texts": [
                  "string"
                ],
                "attrs": {
                  "property1": "string",
                  "property2": "string"
                }
              }
            },
            "viewport": {
              "width": 1,
              "height": 1,
              "dpr": 1,
              "scroll_x": 0,
              "scroll_y": 0,
              "doc_width": 1,
              "doc_height": 1
            }
          },
          "screenshot": {
            "mimeType": "image/png",
            "data": "string",
            "crop": {
              "x": 0,
              "y": 0,
              "width": 0,
              "height": 0
            },
            "capturedAt": "2019-08-24T14:15:22Z"
          },
          "captureStatus": "ready"
        }
      ]
    }
  }
}

Was this page helpful?