Overview
The Script API lets you:- List and view workflows in your account
- Run workflows with custom inputs (single or batch)
- Monitor executions and retrieve results
Base URL
Authentication
All endpoints require an API key passed in thex-api-key header. Get your API key from Profile.
Quick Start
1. List your workflows
2. Get workflow details
Retrieve a workflow to see its input schema:3. Run a workflow
4. Check execution status and get results
Poll the execution endpoint until status isfinished:
Batch Executions
Run a workflow multiple times with different inputs in a single request:low (1), medium (5), high (15).
Execution Status
| Status | Description |
|---|---|
initial | Execution created, not yet started |
processing | Currently running |
human_in_the_loop | Waiting for human approval |
finished | Completed successfully |
error | Execution failed |
Pagination
List endpoints return paginated results with acursor field:
cursor is null, there are no more results.
Limitations
| Limit | Value | Description |
|---|---|---|
| Request body size | 4 MB | Maximum size for request payloads |
| Rate limiting | 100/min | Requests per minute per API key |
| Pagination limit | 100 items | Maximum items returned per list request |
| Execution timeout | 15 minutes | Maximum runtime for a single workflow execution |
| Concurrent executions | 10 | Maximum concurrent executions per workflow |
| Batch size | 10,000 | Maximum items per batch execution request |
Errors
| Code | Description |
|---|---|
| 400 | Bad request — check your parameters |
| 401 | Unauthorized — invalid or missing API key |
| 404 | Not found — resource doesn’t exist |
| 429 | Rate limited — slow down |
| 500 | Server error — try again later |

