docs
UAEN
API Reference

Get Workflow

Get workflow definition with all steps.

GET/api/v1/workflows/workflows/{workflow_id}

Authorizations

X-API-Keystringheaderrequired
Your API key for authentication

Path Parameters

workflow_idintegerpathrequired
Workflow ID

Cookies

wos-sessionstringcookie
Session cookie
access_tokenstringcookie
Access token cookie
datalab_active_teamstringcookie
Active team cookie

Response

Successful Response
Get Workflow
import requests

url = "https://www.datalab.to/api/v1/workflows/workflows/{workflow_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)
200Success
{
  "id": 123,
  "name": "<string>",
  "team_id": 123,
  "steps": [
    {}
  ]
}