Skip to main content
GET
List workflows

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Query Parameters

agent_id
string
required

ID of the agent.

Maximum string length: 64
limit
integer
default:20

The maximum number of items to return, from 1 to 100.

Required range: 1 <= x <= 100
cursor
string

A cursor for pagination. Pass the next_cursor from the previous page, with the same filters, to fetch the next page.

Maximum string length: 4096
state
enum<string>

Only return workflows in this state. draft: never turned on. active: runs when its trigger events happen. paused: published but turned off. archived: turned off and archived in the dashboard.

Available options:
draft,
active,
paused,
archived

Response

A page of workflows.

object
any
required
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required