Base URL
- Local:
http://localhost:8787 - Production:
https://parti-supervisor.your-subdomain.workers.dev
Endpoints
Project Management
GET /api/projects
List all projects.response
GET /api/hydrate/:projectId
Master hydration endpoint for project state.response
Project Creation
POST /api/projects
Create a new project.request
response
Agent Execution
POST /api/execute
Execute agent workflow (streaming). Headers:Accept: text/event-stream- For SSE streamingX-Project-ID: project-uuid- Project identifier
request
Artifact Management
GET /api/artifacts/:projectId
Get all artifacts for a project.response
Execution Traces
GET /api/traces/:projectId
Get execution traces for a project.response
Streaming API
The supervisor supports Server-Sent Events (SSE) for real-time progress updates:Human-in-the-Loop (HITL)
The supervisor supports interrupt signals for human review:- Interrupt Signal:
system_state.interrupt_signal: true - Status:
system_state.status: "interrupted" - Review Required: Agent execution pauses for human approval
Related Documentation
- Agent API - Agent worker APIs
- Backend Supervisor - Implementation details