Skip to main content

Workflow Endpoints

Create and manage multi-step scraping pipelines via HTTP.

Create workflow

Create a new workflow with nodes and edges.

Request body

Node fields

Edge fields

Filter config

Use mode: "all" for AND logic, mode: "any" for OR logic.

Response

Example

Get workflow

Returns workflow details including nodes and edges.

List workflows

Query parameters

Update workflow

Update workflow metadata.

Request body

Delete workflow

Delete a workflow and all associated runs and schedules.

Add node

Add a node to an existing workflow.

Request body

Update node

Delete node

Add edge

Connect two nodes.

Request body

Delete edge

Run workflow

Trigger a manual workflow run.

Request body

Response

Example

Get workflow run

Get details of a specific run including node execution results.

Response

The run response includes node_executions with item_count per node but does not include inline results. Use the output endpoint to fetch full results.
Run status values: pending, running, completed, failed, partial, cancelled

List workflow runs

Get latest workflow output

Get the most recent completed run’s results. By default, results are grouped by URL and then by strategy label.

Query parameters

Response (default — grouped by strategy)

Response with ?flat=true

Response with ?include_intermediate=true

When include_intermediate is set, the response includes a node_outputs field with results from all nodes (not just leaf nodes):

Cancel workflow run

Cancel a running workflow.

Workflow schedules

Create workflow schedule

Request body

Provide either interval_seconds or cron_expression, not both.

List workflow schedules

Update workflow schedule

All fields are optional. Include only fields to update:

Delete workflow schedule

Polling for run completion

Since workflow runs are asynchronous, poll the run endpoint until status is completed or failed:
Use the Python SDK’s run_workflow(wait=True) to handle polling automatically.

Error responses

See REST API Errors for detailed error handling.

Next steps

Workflows Concept

Understand workflow architecture and patterns

Python SDK

Use the Python SDK for workflows

Schedule Endpoints

Compare with simple schedules

Webhooks

Receive workflow results via webhook

Need help?

Email me at mckinnon@meter.sh