Start Run
Run
Start Run
Initiate a new run for a specified squid
POST
Start Run
This endpoint initiates a new run for a specified squid, starting the scraping process for all active tasks within that squid.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYMust be application/json. Value:
application/jsonRequest Body
The hash ID of the squid to run. Example:
"b6c56d18cb0046949461ba9ca278e8ad"Response Field Explanations
Unique identifier of the new run. Example:
"dd3473abe4cb41b683551e851edded94"Always “run”. Example:
"run"The squid being executed. Example:
"b6c56d18cb0046949461ba9ca278e8ad"Initial run status (typically “pending”). Example:
"pending"Whether the run has completed (false for new runs). Example:
falseRun start timestamp. Example:
"2025-02-10T14:27:45Z"Origin of the run (“user” for API-initiated runs). Example:
"user"Only one run can be active per squid at a time. Starting a new run while one is active will return an error.
Code Examples
Response
200
400