List workflows
GET
/api/v1/workflows
const url = 'https://dashboard.justcrawl.io/api/v1/workflows?status=draft';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://dashboard.justcrawl.io/api/v1/workflows?status=draft' \ --header 'Authorization: Bearer <token>'List all workflows (latest version per logical workflow) for the current organization.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” status
string
Filter workflows by status.
domain
string
Narrow to workflows routed to this domain (route=“domain:X” or default ”*”); domain-specific routes sorted first.
Responses
Section titled “ Responses ”An array of workflows.
Media type application/json
Array<object>
object
workflowId
string format: uuid
name
string
status
string
version
integer
route
string
dag
object
nodes
required
Array<object>
object
id
required
string
type
required
string
config
object
edges
required
Array<object>
object
id
required
string
from
required
string
to
required
string
type
required
string
costPerThousand
number
smart
object
strategy
string
mode
string
domain
string
hasPendingSuggestion
boolean
createdAt
string format: date-time
Example
[ { "status": "draft", "dag": { "nodes": [ { "type": "entry" } ], "edges": [ { "type": "default" } ] }, "smart": { "strategy": "success", "mode": "auto" } }]