Introduction
The AutoMFlows API provides programmatic access to workflow execution, batch management, plugin discovery, and report generation. Built on Node.js with Express, the API supports both single workflow execution and parallel batch processing with WebSocket real-time updates.Base URL
.automflows-port in the project root.
API Endpoints
The API is organized into the following resource groups:Workflows
Execute workflows in single or parallel mode, manage batches, and control execution
Execution Control
Monitor execution status, stop/continue workflows, and manage breakpoints
Plugins
Discover and retrieve information about loaded plugins
Reports
Access, download, and manage execution reports in multiple formats
Authentication
Currently, the AutoMFlows API does not require authentication. All endpoints are accessible without API keys or tokens. This is suitable for local development and internal network deployments.Request Format
The API accepts JSON request bodies for POST requests:multipart/form-data:
Response Format
All API responses return JSON with consistent error formatting:Success Response
Error Response
HTTP Status Codes
| Status Code | Description |
|---|---|
200 | Success - Request completed successfully |
400 | Bad Request - Invalid request parameters or body |
404 | Not Found - Resource not found |
500 | Internal Server Error - Server error occurred |
Real-Time Updates
The API includes Socket.IO support for real-time execution updates:Rate Limiting
Currently, the API does not enforce rate limiting. For production deployments, consider implementing rate limiting middleware.CORS
CORS is enabled for all origins (*). To restrict access, modify the CORS configuration in backend/src/server.ts:
Request Size Limits
The API accepts request bodies up to 10MB to accommodate large workflow definitions and batch uploads:API Documentation (Swagger)
Interactive API documentation is available via Swagger UI:System Information
Retrieve system information including versions and resource usage:Next Steps
Execute Workflows
Learn how to execute workflows via API
Manage Batches
Control batch executions and monitor progress
