Dashboard

API Reference

Complete reference for all 150+ API endpoints. Every endpoint includes request/response examples, field descriptions, and cURL commands.

Base URL

https://api.withfluxgate.com

For local development: http://localhost:8000

Authentication

All API requests require a Bearer token in the Authorization header:

Authentication Headerbash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  http://localhost:8000/api/v1/agents

Common Error Codes

CodeMeaningAction
200SuccessRequest completed
201CreatedResource created
400Bad RequestCheck request body/params
401UnauthorizedCheck API key
403ForbiddenInsufficient permissions
404Not FoundCheck resource ID
429Rate LimitedWait and retry
500Server ErrorContact support

Interactive API Docs

For interactive testing, use the Swagger UI which lets you try endpoints directly in the browser.

API Modules