[Go to site: main page, start]

Skip to content

Artifacts ​

Screenshots, downloaded files, and video recordings produced during a run.

Artifact and recording endpoints require the recording entitlement and return 404 when it is unavailable. Captured response-body endpoints are not affected.

List artifacts ​

http
GET /flows/{id}/runs/{run}/artifacts/{type}

Returns the list of artifact files for the given type.

Path parameters ​

ParamValuesDescription
{type}screenshots, downloadsArtifact category.

Response 200 ​

json
[
  {
    "name": "screenshot_00.png",
    "size": 245760,
    "modified_at": "2026-03-15 10:30:10",
    "url": "https://your-instance.com/api/v1/flows/flow_k8Zt3xQ9mA2f/runs/42/artifacts/screenshots/screenshot_00.png"
  },
  {
    "name": "screenshot_01.png",
    "size": 198400,
    "modified_at": "2026-03-15 10:30:12",
    "url": "https://your-instance.com/api/v1/flows/flow_k8Zt3xQ9mA2f/runs/42/artifacts/screenshots/screenshot_01.png"
  }
]
FieldTypeDescription
namestringFile name.
sizeintegerFile size in bytes.
modified_atstringLast modification time in Y-m-d H:i:s format.
urlstringAuthenticated API URL for the artifact.

Errors ​

CodeDescription
404Flow or run not found.
422Invalid artifact type (must be screenshots or downloads).

Download an artifact ​

http
GET /flows/{id}/runs/{run}/artifacts/{type}/{filename}

Downloads a specific artifact file as a binary stream.

Path parameters ​

ParamDescription
{type}screenshots or downloads.
{filename}File name to download (as returned by the list endpoint).

Response 200 ​

Binary file download with the appropriate content type (e.g. image/png, application/pdf, application/octet-stream).

Errors ​

CodeDescription
404File, run, flow, or artifact type not found.

Download recording ​

http
GET /flows/{id}/runs/{run}/recording

Downloads the session recording as an MP4 video.

Response 200 ​

Binary file download with content type video/mp4.

Errors ​

CodeDescription
404Flow, run, or recording not found.

TIP

Recordings are only available when video recording is enabled in the flow settings. Check the Video Recording guide for setup instructions.


Download the recording last frame ​

http
GET /flows/{id}/runs/{run}/recording/lastshot

Downloads the final available frame of the recording as a JPEG image.

Response 200 ​

Binary file download with content type image/jpeg.

Errors ​

CodeDescription
404Flow, run, or recording frame not found.

Fetch a captured response body ​

http
GET /flows/{id}/runs/{run}/sniff-bodies/{captureId}

Returns the body of a network response captured by $sniffNetwork and kept for the run preview. {captureId} is the value found under response.body.reference.captureId in the run's nodal preview data.

Response 200 ​

The raw body as text/plain; charset=utf-8, with resolved secrets redacted. Parse it as JSON when the preview reference has contentJsonAvailable: true.

Errors ​

CodeDescription
404Flow, run, or capture not found. Only captures still referenced by a retained preview snapshot are stored.