Skip to main content

Base URL

All endpoints live under /v1/. The public OpenAPI spec is at docs.runflow.io/api/openapi.public.json.

Content types

Pagination

List endpoints return cursors, not page numbers. Pass pq (the cursor) and limit (page size, max 500).
The response includes next_pq and prev_pq. Pass from_prev=true to walk backward.

Filtering

List endpoints accept a filter expression in q:
Operators: =, :, >, <, >=, <=, AND, OR, NOT. String values are case-sensitive.

Field projection

Trim the response to the fields you need with fields:

Sorting

Multi-field sort: sort_by=status_code:asc,created_at:desc.

Idempotency

Mutations are not idempotent by default. To retry safely, save the response of the first call and skip on duplicate.

Errors

Status codes and the error envelope.

Runs

Callbacks, polling, statuses.