Reference
API Reference (REST)
Integrate the AI Agent Automation Platform into your own applications using our structured REST API. All requests and responses use JSON.
Introduction
The platform exposes a REST API (v1) for managing workflows, agents, schedules, documents, teams, webhooks, and more. All authenticated routes require a Bearer token obtained from the login endpoint.
Base URL
http://localhost:5000/apiAuthentication
POST
Register a new user./auth/registerPOST
Log in and receive a JWT token./auth/loginGET
Get the current user profile./auth/meAgents
GET
List all agents for the authenticated user./agentsPOST
Create a new agent./agentsGET
Get agent details./agents/:idPUT
Update an agent./agents/:idDELETE
Delete an agent./agents/:idPOST
Send a prompt directly to an agent (playground)./agents/:id/runAgent Teams
POST
Create a new agent team./agent-teamsGET
List agent teams for the user./agent-teamsPOST
Run an agent team with an objective./agent-teams/:id/runPOST
Create a new team session./agent-teams/:teamId/sessionsGET
Get session message logs./agent-teams/sessions/:sessionId/logsGET
Get team capability discovery./agent-teams/:teamId/discoveryWorkflows
GET
List workflows for the authenticated user./workflowsPOST
Create a new workflow./workflowsGET
Get workflow details./workflows/:idPUT
Update a workflow./workflows/:idDELETE
Delete a workflow./workflows/:idGET
Export workflow as JSON./workflows/:id/exportPOST
Clone a workflow./workflows/:id/clonePOST
Trigger a manual workflow execution./workflows/:id/runPOST
Run a subset of workflow steps./workflows/:id/run-partialPUT
Update workflow steps./workflows/:id/stepsPOST
Add a task to the workflow./workflows/:id/add-taskPUT
Assign an agent to the workflow./workflows/:id/assign-agentGET
List workflow version history./workflows/:id/versionsGET
Get a specific workflow version./workflows/:id/versions/:versionIdPOST
Rollback workflow to a previous version./workflows/:id/rollback/:versionIdPOST
Generate a workflow from natural language./workflows/generate-aiGET
Get available node definitions for the builder./workflows/node-definitionsTasks
POST
Create a new task./tasksGET
List tasks with pagination./tasksGET
Get task details and step results./tasks/:idPUT
Update a task./tasks/:idDELETE
Delete a task./tasks/:idPOST
Approve a pending_approval task./tasks/:id/approvePOST
Reject a pending_approval task./tasks/:id/rejectPOST
Resume a paused task./tasks/:id/resumePOST
Rerun from the failed step, preserving prior results./tasks/:id/rerun-from-failedSchedules
POST
Create a new schedule./schedulesGET
List schedules for the user./schedulesGET
Get schedule details./schedules/:idPUT
Update a schedule./schedules/:idDELETE
Delete a schedule./schedules/:idDocuments
POST
Upload a document for ingestion (multipart/form-data)./documents/uploadGET
List user documents./documentsGET
Get document metadata./documents/:idDELETE
Delete a document and its chunks./documents/:idPOST
Chat with selected documents using RAG./documents/chatWebhooks
POST
Create a webhook configuration (private)./webhooksGET
List webhooks for the user./webhooksDELETE
Delete a webhook configuration./webhooks/:idPOST
Public endpoint to receive webhook payloads./webhook/:sourcePOST
Public A2A endpoint for external agent messaging./webhook/a2a/:teamIdTemplates
GET
List available workflow templates./templatesGET
Get template details./templates/:idGET
Validate a template schema./templates/:id/validatePOST
Import a template as a new workflow./templates/import/:idInsights
GET
Get global insights across all workflows./insights/summaryGET
Get insights for a specific workflow./insights/workflows/:workflowIdMemory
GET
List memories for the user, optionally filtered by agent./memoryGET
List agents with stored memory./memory/agentsDELETE
Delete a memory entry./memory/:idDELETE
Clear all memory for an agent./memory/agent/:agentIdLogs
GET
List logs with filtering by level, workflow, task, date, and search./logsSettings
GET
Get user settings, available providers, and MCP runtime state./settingsPUT
Update user settings (partial update supported)./settingsSystem
GET
Get environment variable status for providers./system/envGET
Get provider discovery with available models./system/providersAssistant
POST
Send a message to the in-app assistant./assistant/chatTelemetry
GET
Get telemetry state and local metrics./telemetryPUT
Enable or disable anonymous telemetry./telemetryMCP
GET
List configured MCP servers and health./mcp/serversGET
List tools exposed by MCP servers./mcp/toolsGET
Check MCP server health./mcp/healthPOST
Invoke an MCP tool directly./mcp/tools/:serverId/:toolName/invokeAPI Keys
GET
List active API keys for the user./keysPOST
Create a new API key (raw key returned once)./keysDELETE
Revoke an API key./keys/:idPublic Workflow APIs
POST
Invoke a workflow by ID or custom slug. Auth optional per workflow settings./workflows/public/:idOrSlugStandard Error Response
error-response.json
{
"ok": false,
"error": "not_found"
}Interactive Documentation
The backend does not auto-generate a Swagger UI. Use this reference along with the Postman collection included in the repository for interactive testing.