API Reference
Error Responses
All endpoints return errors in a consistent format:200- Success201- Created202- Accepted (async operation started)400- Bad Request (invalid input)401- Unauthorized (missing or invalid token)404- Not Found500- Internal Server Error
Pagination
Endpoints that return lists support pagination via query parameters:
Example:
Cron Expression Reference
Schedules use standard cron expressions:0 2 * * *- Every day at 2:00 AM0 0 * * 0- Every Sunday at midnight*/30 * * * *- Every 30 minutes0 9-17 * * 1-5- Every hour from 9 AM to 5 PM, Monday to Friday
Workflow Step Types
Reference documentation for workflow step types used in YAML workflow definitions.bash
Execute shell commands on the local system or configured runner.
*One of
command, commands, or parallel_commands is required.
function
Execute utility functions written in JavaScript via Otto VM.
*One of
function, functions, or parallel_functions is required.
parallel-steps
Run multiple steps concurrently.foreach
Iterate over items from a file or array.remote-bash
Execute commands in Docker containers or via SSH.
Docker Configuration:
http
Make HTTP requests and capture responses.
Auto-Exports:
<step_name>_status_code- HTTP status code<step_name>_body- Response body<step_name>_headers- Response headers
llm
Execute LLM (Large Language Model) API calls for AI-powered analysis.
*Either
messages or embedding_input (with is_embedding: true) is required.
Message Format:
<step_name>_llm_resp- Full response object (id, model, usage, content, tool_calls)<step_name>_content- Just the content string for easy access
