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
GET /flows/{id}/runs/{run}/artifacts/{type}Returns the list of artifact files for the given type.
Path parameters
| Param | Values | Description |
|---|---|---|
{type} | screenshots, downloads | Artifact category. |
Response 200
[
{
"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"
}
]| Field | Type | Description |
|---|---|---|
name | string | File name. |
size | integer | File size in bytes. |
modified_at | string | Last modification time in Y-m-d H:i:s format. |
url | string | Authenticated API URL for the artifact. |
Errors
| Code | Description |
|---|---|
404 | Flow or run not found. |
422 | Invalid artifact type (must be screenshots or downloads). |
Download an artifact
GET /flows/{id}/runs/{run}/artifacts/{type}/{filename}Downloads a specific artifact file as a binary stream.
Path parameters
| Param | Description |
|---|---|
{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
| Code | Description |
|---|---|
404 | File, run, flow, or artifact type not found. |
Download recording
GET /flows/{id}/runs/{run}/recordingDownloads the session recording as an MP4 video.
Response 200
Binary file download with content type video/mp4.
Errors
| Code | Description |
|---|---|
404 | Flow, 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
GET /flows/{id}/runs/{run}/recording/lastshotDownloads the final available frame of the recording as a JPEG image.
Response 200
Binary file download with content type image/jpeg.
Errors
| Code | Description |
|---|---|
404 | Flow, run, or recording frame not found. |
Fetch a captured response body
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
| Code | Description |
|---|---|
404 | Flow, run, or capture not found. Only captures still referenced by a retained preview snapshot are stored. |
