Create workflow
Create a new workflow with an initial version and generate its state machine.
This endpoint creates both the workflow metadata and its first version in a single operation. The workflow definition must include at least one step.
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.
Authorizations
API key for authentication
Body
Human-readable workflow name
"Text to Image Generator"
Detailed description of what the workflow does
"Generates images from text prompts using AI models"
The workflow definition containing steps, input schema, and metadata. This follows the workflow DSL format.
List of category slugs to organize the workflow
["image-generation", "ai"]Whether the workflow is locked from modifications
Whether this is a production workflow
Response
Workflow created successfully
Complete workflow information including all versions
Unique workflow identifier
"50741f40-8621-4d46-8a91-dff4d873be98"
Human-readable workflow name
"Text to Image Generator"
Workflow description
"Generates images from text prompts"
URL-friendly workflow identifier
"text-to-image-generator"
Category slugs
["image-generation", "ai"]Whether workflow is locked
false
Whether this is a production workflow
false
Most recently updated version ID
"v2"
Workflow lifecycle status
active, archived, deleted "active"
Total number of times this workflow has been triggered
42
RFC3339 timestamp when workflow was created
"2025-12-01T10:00:00Z"
RFC3339 timestamp when workflow was last updated
"2025-12-07T15:30:00Z"
List of all versions for this workflow