Get Run
Run
Get Run
Retrieve detailed information about a specific run
GET
Get Run
This endpoint retrieves detailed information about a specific run using its hash ID. A run represents an execution instance of a squid’s tasks, tracking progress, status, and results.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYQuery Parameters
The unique identifier (hash) of the run. Example:
0393be3ea6f74986906153df1c3f9894Response Field Explanations
Unique identifier of the squid run. Example:
"0393be3ea6f74986906153df1c3f9894"Type of returned object (always “run”). Example:
"run"Date and time when the run was initially created (ISO 8601). Example:
"2025-02-04T10:26:50.847633"Date and time when the scraping run started executing. Example:
"2025-02-04T10:25:41.623683"Date and time when the scraping run completed or stopped. Example:
"2025-02-04T10:26:52.222239"Duration of the scraping run as a formatted timedelta string. Example:
"0:00:50.183300"Total credits consumed during the run. Example:
50.1833Origin of the run initiation (e.g., “user”, “schedule”). Example:
"user"Current status of the squid run (see statuses table). Example:
"done"Total number of results collected. Example:
40Number of unique results collected. Example:
40Indicates if the export was successfully generated. Example:
trueDate and time when export was generated. Example:
"2025-02-04T10:26:53.780636"Reason indicating why the run finished (see done reasons table). Example:
"tasks_done"Additional description providing context for done_reason. Example:
nullIdentifier of the squid this run belongs to. Example:
"e445405ef4ab41208ef7d29b92a1a9dd"Scheduled date/time for the next execution (if recurring). Example:
nullWhether this run was force-launched. Example:
falseNumber of times results have been exported. Example:
1Whether the email delivery was completed. Example:
falseTimestamp when email delivery completed. Example:
nullEmail verification status for delivery. Example:
nullShorthand flag indicating whether the run has completed (any terminal status). Example:
trueRun Statuses
| Status | Phase | Description |
|---|---|---|
| PENDING | Waiting | Run is created and waiting to start execution |
| RUNNING | In Progress | Run is currently collecting data |
| UPLOADING | In Progress | Data collection is complete, now uploading/exporting results |
| PAUSED | In Progress | Run has been temporarily paused; it can resume or be aborted |
| ABORTED | Completed | Run was manually stopped before completion |
| DONE | Completed | Run finished all tasks and exported the results successfully |
| ERROR | Completed | Run failed due to an error |
Done Reasons
| Reason | Description |
|---|---|
| tasks_done | All assigned tasks completed successfully |
| aborted | Scraping run manually aborted by user |
| no_credits_left | No credits remaining |
| no_account_available | No available accounts; refresh required |
| no_accounts | No scraper-linked accounts available to initiate run |
| cookies_expired | Scraper-linked account cookies expired; renewal required |
| wrong_credentials | Account credentials invalid |
| checkpoint_reached | Account is blocked at a checkpoint (manual verification required) |
| otp_needed | OTP verification required; please re-sync accounts |
| limit_exceeded | Scraper-linked account limit exceeded |
| slots_limit_exceeded | Scraping slots limit exceeded |
| too_many_requests | Run stopped due to excessive requests |
| batch_wait | Current batch completed; awaiting timeout |
| deactivated | Run has been deactivated |
| maintenance_fees_not_paid | Maintenance fees for this custom module have not been paid |
| last_invoice_not_paid | Previous invoice payment pending |
| export_fix | Export regenerated successfully after previous failure |
The done_reason field provides insight into why a run ended - useful for debugging failed runs.
Code Examples
Response
200
404