Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt

Use this file to discover all available pages before exploring further.

The management API runs on port 9090 and is used to configure apps, tokens, endpoints, and runtime settings.

Base URL

http://localhost:9090/api/v1
In production, access it via port-forward — it should never be exposed publicly.

Authentication

When GATEWAY_SERVER__ADMIN_TOKEN is set, all management API requests require:
Authorization: Bearer YOUR_ADMIN_TOKEN

Interactive Docs

Enable Swagger UI by setting GATEWAY_SERVER__SWAGGER_ENABLED=true, then open:
http://localhost:9090/swagger-ui/

Key Endpoints

MethodPathDescription
GET/api/v1/healthHealth check
GET/api/v1/versionVersion and build info
GET/api/v1/appsList all apps
POST/api/v1/appsCreate an app
PATCH/api/v1/apps/{slug}Update an app
DELETE/api/v1/apps/{slug}Delete an app
GET/api/v1/apps/{slug}/tokensList API tokens
POST/api/v1/apps/{slug}/tokensCreate an API token
DELETE/api/v1/apps/{slug}/tokens/{id}Revoke a token
GET/api/v1/metricsPrometheus metrics
GET/api/v1/configGet runtime config
PATCH/api/v1/configUpdate runtime config