Get workflow
curl -X GET 'https://api.justcrawl.io/api/v1/workflows/a47ac10b-58cc-4372-a567-0e02b2c3d479' \ -H 'Authorization: Bearer $JUSTCRAWL_API_KEY'import os, requestswid = 'a47ac10b-58cc-4372-a567-0e02b2c3d479'r = requests.get( f'https://api.justcrawl.io/api/v1/workflows/{wid}', headers={'Authorization': f'Bearer {os.environ["JUSTCRAWL_API_KEY"]}'},)r.raise_for_status()workflow = r.json()const wid = 'a47ac10b-58cc-4372-a567-0e02b2c3d479';const res = await fetch(`https://api.justcrawl.io/api/v1/workflows/${wid}`, { headers: { Authorization: `Bearer ${process.env.JUSTCRAWL_API_KEY}` },});if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);const workflow = await res.json();Get a workflow (latest version) with its DAG by ID. Returns the full DAG node + edge graph for editor consumption.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The workflow’s stable logical id — the workflowId field of a workflow object, NOT its id field. id is the per-version row key and 404s here.
Responses
Section titled “Responses”The requested workflow with its DAG.
object
Primary key of this specific VERSION row. Changes every time the workflow is edited, and is not accepted by any endpoint. Useful only for correlating a response with the exact version it came from — pass workflowId, not this, to /api/v1/workflows/{id}.
Stable logical identifier for the workflow, constant across every version. THIS is the value every /api/v1/workflows/{id} route expects (get, update, delete, clone, publish, unpublish, routing, versions) and the value jobs and schedules reference.
object
object
object
object
object
Example
{ "status": "draft", "dag": { "nodes": [ { "type": "entry" } ], "edges": [ { "type": "default" } ] }, "smart": { "strategy": "success", "mode": "auto" }}Missing or invalid authentication token
object
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
object
Example
{ "error": "No organization. Complete onboarding first."}Resource not found
object
Example
{ "error": "Workflow not found"}Unexpected server error. Logs and PostHog $exception capture
object
Example
{ "error": "Something went wrong"}