Skip to content

API Endpoints

Overview

RESTful endpoints for the AI Agent Orchestration Platform. All endpoints use JWT/OAuth2 authentication unless otherwise specified.

Method Endpoint Description
POST /auth/token Login, returns JWT
GET /users/me Current user info
GET /workflows List workflows
POST /workflows Create workflow
GET /workflows/{id} Get workflow details
POST /workflows/{id}/run Trigger workflow run
GET /runs/{id} Get workflow run status/logs
GET /hitl/tasks List HITL tasks for user
POST /hitl/tasks/{id}/decision Submit HITL decision
GET /agents List registered agents
POST /agents Register new agent
GET /marketplace/items List marketplace items

Example: Create Workflow

POST /workflows
{
  "name": "My Workflow",
  "definition": {...}
}

Example: Trigger Workflow Run

POST /workflows/{id}/run
{
  "input_params": {...}
}