Abort Actor run
abort-actor-runStop a running or starting Actor run. Use when a run is taking too long or misconfigured.
Instructions
Abort an Actor run that is currently starting or running. For runs with status FINISHED, FAILED, ABORTING, or TIMED-OUT, this call has no effect. The results will include the updated run details after the abort request.
USAGE:
Use when you need to stop a run that is taking too long or misconfigured.
USAGE EXAMPLES:
user_input: Abort run y2h7sK3Wc
user_input: Gracefully abort run y2h7sK3Wc
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The ID of the Actor run to abort. | |
| gracefully | No | If true, the Actor run will abort gracefully with a 30-second timeout. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Actor run ID | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| actorName | No | "username/actor-name" | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| stats | No | Run statistics | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| summary | Yes | Past-tense summary of the run state | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated |