Get a specific workflow version
GET
/api/v1/workflows/{id}/versions/{version}
const url = 'https://dashboard.justcrawl.io/api/v1/workflows/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/1';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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/1 \ --header 'Authorization: Bearer <token>'Fetch a frozen prior version of a workflow’s DAG. Every PUT /api/v1/workflows/{id}
creates a new version; older versions stay addressable here for audit + diff use
cases. GET /api/v1/workflows/{id} always returns the latest.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
The workflow ID.
version
required
integer
The version number (1-indexed).
Responses
Section titled “ Responses ”The frozen workflow version.
Media type application/json
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" }}Invalid version number (must be a positive integer).
Missing or invalid authentication token
Media type application/json
object
error
string
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
Media type application/json
object
error
string
Example
{ "error": "No organization. Complete onboarding first."}Resource not found
Media type application/json
object
error
string
Example
{ "error": "Workflow not found"}Unexpected server error. Logs and PostHog $exception capture
Media type application/json
object
error
string
Example
{ "error": "Something went wrong"}