POST
/v1/squids/{squid_hash}Update Squid
Update squid settings including parameters, concurrency, scheduling, and delivery integrationsThis endpoint updates an existing squid's settings using its hash ID. You can configure crawler parameters, execution settings, scheduling, notifications, and data delivery integrations.
Squid Settings
namestring
OptionalExample: My Custom Squid
is_activeboolean
OptionalExample: true
concurrencyinteger
OptionalExample: 2
to_completeboolean
OptionalExample: false
export_unique_resultsboolean
OptionalExample: true
no_line_breaksboolean
OptionalExample: true
run_notifystring
OptionalExample: on_success
cron_expressionstring
OptionalExample: 0 10 * * *
timezonestring
OptionalExample: Europe/Paris
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Parameters
squid_hashstring
RequiredExample:
e86b29c032024b66aff529e1d43c2bd7Pro Tip
The params object structure depends on the crawler. Use Get Crawler Parameters endpoint to see available options before updating.
Note
Optional function parameters (in params.functions) cost extra credits per row. Check the crawler details for pricing.
Warning
Setting is_active to false will prevent the squid from running. Use this to temporarily pause a squid without deleting it.
Pro Tip
You can update just one field at a time - send only the fields you want to change. Other settings remain unchanged.
Pro Tip
Use cron_expression and timezone to schedule recurring runs. Common patterns: '0 9 * * *' (daily at 9am), '0 0 * * 0' (weekly on Sunday).