Create a workflow
POST /v1/workflows
POST
/v1/workflows
Create a linear 1–4 stage workflow. Every stage needs a description. Non-final stages require a follow field.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
name
required
string
description
required
string
url
string format: uri
definition
required
object
stages
required
Array<object>
object
name
required
string
description
required
string
parser_id
required
string
scrape_config
Fetch override. Credit price depends on browser and proxy settings.
object
useBrowser
boolean
waitSeconds
number
waitForBrowser
string
proxy
default, highquality, hardcore, premium, or premium:<country code>.
string
sink
Return data or write rows to an owned database.
object
mode
required
string
database
string
table
string
key
Upsert key columns; defaults to _url for parser jobs.
Array<string>
follow
Required except on the final stage.
string
follow_limit
integer
dedupe
string
Responses
Section titled “ Responses ”Workflow created.
object
id
string
Missing or invalid API key.
object
error
required
string
Example
invalid request field
Field that failed validation.
string
detail
string
hint
string
Validation failed.
object
error
required
string
Example
invalid request field
Field that failed validation.
string
detail
string
hint
string
Request, concurrency, or plan limit exceeded.
Headers
Section titled “Headers ” Retry-After
integer
Seconds to wait when supplied.