Skip to main content
GET
/
v1
/
workflows
/
{workflowID}
/
graph
Get workflow graph
curl --request GET \
  --url https://api.strait.dev/v1/workflows/{workflowID}/graph \
  --header 'Authorization: Bearer <token>'
{
  "roots": [
    "<string>"
  ],
  "workflow_id": "<string>",
  "$schema": "<string>",
  "adjacency": {},
  "dot": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

workflowID
string
required

Query Parameters

format
string

Response

OK

roots
string[] | null
required
workflow_id
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/WorkflowGraphResponse.json"

adjacency
object
dot
string