Documentation Index
Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
GET https://workflows.eachlabs.run/api/v1/workflows/{workflowID}
You can use either the workflow UUID or slug as the workflowID.
Path Parameters
| Parameter | Type | Required | Description |
|---|
workflowID | string | Yes | Workflow UUID or slug |
Code Examples
curl https://workflows.eachlabs.run/api/v1/workflows/50741f40-8621-4d46-8a91-dff4d873be98 \
-H "X-API-Key: YOUR_API_KEY"
Response
{
"workflow_id": "50741f40-8621-4d46-8a91-dff4d873be98",
"slug": "text-to-image-generator",
"name": "Text to Image Generator",
"description": "Generates images from text prompts",
"categories": ["image-generation"],
"locked": false,
"production": false,
"latest_version_id": "v2",
"status": "active",
"trigger_count": 42,
"created_at": "2025-12-01T10:00:00Z",
"updated_at": "2025-12-07T15:30:00Z",
"versions": [
{
"version_id": "v1",
"slug": "text-to-image-generator",
"locked": true,
"production": false,
"trigger_count": 27,
"status": "active",
"created_at": "2025-12-01T10:00:00Z",
"updated_at": "2025-12-05T14:20:00Z"
},
{
"version_id": "v2",
"slug": "text-to-image-generator",
"locked": false,
"production": true,
"trigger_count": 15,
"status": "active",
"created_at": "2025-12-05T14:20:00Z",
"updated_at": "2025-12-07T15:30:00Z"
}
]
}
Error Responses
| Status | Body | Description |
|---|
401 | {"error": "Invalid or missing API key"} | Authentication failure |
404 | {"error": "workflow not found"} | Invalid workflow ID or slug |