Skip to main content
The SuperAI Flows API is a unified REST API for defining, executing, and monitoring workflows. It combines the core workflow API and the AI agent API into a single coherent surface served from one domain.

Base URL

Conventions

The API follows Stripe-inspired design principles:
  • RESTful endpoints with intuitive, resource-oriented paths
  • Standard HTTP methodsGET, POST, PATCH, DELETE
  • Standard HTTP status codes for success and error handling
  • Consistent JSON request and response bodies
  • request_id on every response for log correlation and support

Authentication

Most endpoints require a JWT bearer token; some accept a service-account API key. See Authentication for the full flow.

Resource groups

The endpoint reference in this section is generated directly from the OpenAPI specification and grouped by resource:

Flows

Create, list, and manage workflow definitions.

Flow Executions

Run flows and monitor execution status.

Task Executions & Outputs

Inspect individual task runs and their results.

Integrations & Plugins

Connect flows to external services and platforms.

Files

Download files referenced in task outputs.

Service Accounts

Manage programmatic API access credentials.

Versioning & compatibility

The API follows a strict compatibility policy. Non-breaking changes (new endpoints, optional parameters, new response fields, new enum values) ship without notice — design your clients to ignore unknown fields. Breaking changes are announced at least 15 days in advance with migration guides.

Errors

All errors share a consistent JSON shape with a machine-readable code and a request_id. See the Error Codes reference.