← Back

API Documentation

Auth: add ?token=YOUR_TOKEN or Authorization: Bearer YOUR_TOKEN

Forge (AI Builder)

MethodPathDescription
GET/forgeForge x OmniRoute UI
GET/v1/modelsList AI models
POST/v1/chat/completionsChat with AI
POST/api/duoDuo Build (generate + review)

Pages

MethodPathDescription
GET/Dashboard
GET/statusWorker status
GET/healthHealth check

Account API

MethodPathDescription
GET/api/zonesList zones
GET/api/workersList Workers
GET/api/r2-bucketsR2 buckets
GET/api/kv-namespacesKV namespaces
GET/api/d1-databasesD1 databases
GET/api/ai-modelsAI models

Zone API (add ?zone=DOMAIN)

MethodPathDescription
GET/api/dns-recordsDNS records
GET/api/analyticsAnalytics
GET/api/waf-rulesWAF rules
POST/api/cache-purgePurge cache