Skip to main content

API Reference

Error Responses

All endpoints return errors in a consistent format:
Common HTTP Status Codes:
  • 200 - Success
  • 201 - Created
  • 202 - Accepted (async operation started)
  • 400 - Bad Request (invalid input)
  • 401 - Unauthorized (missing or invalid token)
  • 404 - Not Found
  • 500 - Internal Server Error

Pagination

Endpoints that return lists support pagination via query parameters: Example:

Cron Expression Reference

Schedules use standard cron expressions:
Examples:
  • 0 2 * * * - Every day at 2:00 AM
  • 0 0 * * 0 - Every Sunday at midnight
  • */30 * * * * - Every 30 minutes
  • 0 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.
Fields: *One of command, commands, or parallel_commands is required.

function

Execute utility functions written in JavaScript via Otto VM.
Fields: *One of function, functions, or parallel_functions is required.

parallel-steps

Run multiple steps concurrently.
Fields:

foreach

Iterate over items from a file or array.
Fields:

remote-bash

Execute commands in Docker containers or via SSH.
Fields: Docker Configuration:
SSH Configuration:

http

Make HTTP requests and capture responses.
Fields: 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.
Fields: *Either messages or embedding_input (with is_embedding: true) is required. Message Format:
Multimodal Messages (with images):
LLM Configuration Override:
Embeddings:
Tool Calling:
Auto-Exports:
  • <step_name>_llm_resp - Full response object (id, model, usage, content, tool_calls)
  • <step_name>_content - Just the content string for easy access