What is each::workflows?
each::workflows lets you chain multiple AI models together into automated, multi-step pipelines. Define your steps, wire outputs to inputs, and kick off complex AI tasks with a single API call.Key Features
- Multi-step pipelines: Chain any combination of AI models together
- Parallel branching: Run multiple branches at the same time for independent tasks
- Conditional logic: Route execution based on step outputs using choice steps
- Parameter references: Wire step outputs to subsequent step inputs with
{{template}}syntax - Fallback configuration: Automatic retry with alternative models when things go sideways
- Versioning: Create and manage multiple workflow versions with ease
- Bulk execution: Fire off up to 10 executions in parallel
- Webhooks: Get notified when executions wrap up
- Public & unlisted sharing: Share workflows via direct link or public listing
Base URL
How It Works
Trigger execution
Provide inputs and start an execution. The engine runs steps sequentially, executes parallel branches concurrently, and evaluates conditions to route execution.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /categories | List workflow categories |
POST | /workflows | Create a workflow |
GET | /workflows/{id} | Get workflow details |
PUT | /workflows/{id} | Update workflow metadata |
PUT | /workflows/{id}/versions/{versionID} | Create/update a version |
POST | /{id}/trigger | Trigger execution |
POST | /{id}/bulk-trigger | Bulk trigger (up to 10) |
GET | /workflows/{id}/executions | List executions |
GET | /executions/{executionID} | Get execution details |
GET | /public/@{nickname}/workflows/{slug}/versions/{versionID} | Get public workflow |
POST | /public/@{nickname}/workflows/{slug}/versions/{versionID}/trigger | Trigger public workflow |