Reference
API Reference (REST)
Integrate the AI Agent Automation Platform into your own applications using our structured REST API.
Introduction
The platform exposes a versioned REST API (v1) for managing workflows, agents, schedules, and documents. All requests and responses use JSON.
Base URL
http://localhost:5000/api/v1Workflows
GET
List all workflow definitions./workflowsPOST
Create a new workflow definition./workflowsGET
Get details of a specific workflow./workflows/:idPOST
Trigger a manual execution of a workflow./workflows/runAgents
GET
List all registered agent profiles./agentsPOST
Register or update an agent profile./agentsPOST
Send a direct prompt to an agent./agents/chatDocuments (RAG)
POST
Upload and ingest a PDF or text file./documents/uploadGET
Get ingestion status and metadata./documents/:idPOST
Perform semantic search across documents./documents/queryStandard Error Response
error-response.json
{
"success": false,
"error": {
"code": "WORKFLOW_NOT_FOUND",
"message": "The requested workflow ID does not exist.",
"details": { "workflow_id": "wf_123" }
}
}Interactive Documentation
The backend automatically generates a Swagger / OpenAPI UI. When the server is running in development mode, you can access it at http://localhost:5000/api-docs to test endpoints directly.