Docs
DSG Control Plane Documentation
Product documentation for the current DSG control-plane scaffold, including route overview, quickstart flow, and next implementation milestones.
Core Product Loop
- • Create an agent
- • Store the API key shown once
- • Call /api/execute
- • Review decisions, audit logs, and billing usage
Main API Routes
- • GET /api/health
- • GET, POST /api/agents
- • POST /api/execute
- • GET /api/executions
- • GET /api/metrics
- • GET /api/usage
Next Milestones
- • Wire agents and usage to Supabase schema
- • Persist billing state from Stripe webhooks
- • Add policy approvals and exportable audit evidence
- • Harden auth and environment setup for production
Quickstart
curl -X POST http://localhost:3000/api/execute \
-H "Authorization: Bearer dsg_live_demo" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "agt_demo",
"input": {
"prompt": "approve invoice #123"
},
"context": {
"risk_score": 0.12
}
}'