Allscreenshots icon

Allscreenshots

Capture and manage website screenshots with Allscreenshots API

Actions15

Async Job → Cancel

AI-generated

Summary

Cancels a pending or running Allscreenshots async screenshot job by its ID, sending a POST to /v1/screenshots/jobs/{jobId}/cancel and returning the API's response.

Inputs

  • Job ID (required) — ID of the async screenshot job to cancel (e.g. job_abc123...), such as the one returned by Screenshot > Capture Async. Evaluated per input item.

Output shape

One JSON item per input item, containing the API's cancel response as returned. It is not reshaped by the node.

The exact fields of the response aren't defined in the node source. Each output item is paired with its input item. If the API call fails (e.g. unknown job ID) the node throws a NodeApiError, unless Continue On Fail is enabled. In that case it outputs {error: message} for that item. Bulk jobs and compose jobs are cancelled separately (Bulk Screenshot > Cancel).

Examples

Example 1: Abort a long-running async capture started earlier in the workflow.

Resource: Async Job, Operation: Cancel, Job ID: ={{ $json.jobId }}

Example 2: Cancel a specific job by a known ID.

Resource: Async Job, Operation: Cancel, Job ID: job_abc123

Links

Discussion