Complete reference for all SynapseX API endpoints.
POST /api/v1/agents/spawn Authorization: Bearer sx-... { "task": "Refactor the auth module", "repo_url": "https://github.com/org/repo", "model": "azure/gpt-4-1-teacher", "max_tokens": 8192 }
GET /api/v1/agents GET /api/v1/agents?status=running
GET /api/v1/agents/{agent_id}
DELETE /api/v1/agents/{agent_id}
GET /api/v1/billing/usage GET /api/v1/billing/usage/breakdown?days=30
GET /api/v1/billing/dashboard
GET /api/v1/billing/plans
GET /api/v1/billing/checkout/{plan}?billing_period=monthly
GET /api/v1/auth/keys
POST /api/v1/auth/keys { "name": "my-app", "expires_at": "2027-01-01T00:00:00Z" }
DELETE /api/v1/auth/keys/{key_id}