Skip to main content
Route inventory for Levelrail’s control plane HTTP API, organized by resource group matching docs/feature-catalog.md. The tables below are generated from the route registrations in internal/api/routes*.go. After adding or changing a route, run go run ./scripts/gen-api-reference (fast and idempotent) and commit the result; TestAPIReferenceCoversEveryRoute fails if a registered route is missing. New routes land in the group with the closest path prefix, or in Other.

System

System endpoints for:
  • Status checks and diagnostics
  • Admin operations
  • Configuration retrieval and management

Auth / 2FA / Users / Roles / IAM / Device Auth / OAuth

Endpoints for:
  • Authentication and session management
  • Two-factor authentication setup and verification
  • User and role management
  • IAM policies and attachment
  • Device login flows
  • OAuth provider configuration

Apps CRUD / Lifecycle / Deploy

Endpoints for:
  • Application creation, retrieval, update, and deletion
  • Deployment triggers and history
  • Application control (restart, stop, start)
  • Logs, metrics, and diagnostics
  • Build operations and deployment comparisons
  • Image and network information
PUT /api/v1/apps/{name}/health replaces only the app’s health config (the body is a ServiceHealth: readiness, liveness, ready_timeout), leaving every other field alone; an empty body clears it. Probe fields and validation match the app spec, with durations in nanoseconds.

Secrets / Git Source / Webhooks / Preview Environments

Endpoints for:
  • Encrypted secrets management and locking
  • Git repository connections and configuration
  • Webhook delivery history and replay
  • Preview environment configuration and lifecycle

Telemetry

Endpoints for:
  • Metrics queries with filtering and aggregation
  • Log retrieval, search, and live streaming
  • Resource usage ranking and monitoring

Alerts / Scheduled Tasks / Feature Flags / Notification Channels

Endpoints for:
  • Alert rule creation and management
  • Scheduled task configuration and execution
  • Feature flag configuration and evaluation
  • Notification channel management and delivery tracking

Databases CRUD / Engines / Resources

Endpoints for:
  • Database creation, retrieval, and deletion
  • Engine registry and telemetry
  • Resource recommendations and node placement

Projects / Organizations / Environments

Endpoints for:
  • Project and organization management
  • Environment definitions and configuration
  • Environment variable and configuration inheritance
  • Bulk lifecycle operations (restart, stop, start)

Nodes

Endpoints for:
  • Physical infrastructure management and monitoring
  • Node health and status
  • Workload assignment and placement
  • Cordon, drain, and lifecycle operations
  • Node-level metrics and patch status
  • Agent certificate re-enrollment and revocation

Ingress / Certificates / Domains / Email / Cloudflare

Endpoints for:
  • TLS certificate lifecycle and management
  • ACME configuration and certificate validation
  • Domain routing and DNS configuration
  • Domain-level controls (basic auth, maintenance mode, redirects, custom error pages, WAF)
  • Email configuration for notifications
  • Cloudflare, Route 53, and Vault integrations
  • External secret management

Static Sites / Backup Targets / Registry Credentials

Endpoints for:
  • Static site configuration and visibility
  • S3-compatible backup target management and testing
  • External registry credentials for image pull authentication
  • Domain enumeration

Built-in Container Registry

Endpoints for:
  • Registry configuration and management
  • Image repository and tag browsing

Git Provider Apps

Endpoints for:
  • GitHub App integration and repository browsing
  • GitLab App integration and project browsing
  • Bitbucket App integration and repository browsing
  • OAuth flow management and provider status

Database Backups / Restore / Clone Restore

Endpoints for:
  • Backup history and manual triggers
  • Backup verification and scheduled retention
  • Database control (stop, start, public access)
  • Restore and clone-restore operations

App Volume Backups / Restore

Endpoints for:
  • Named volume backup history and scheduling
  • Backup verification and retention management
  • Volume restore operations (in-place and non-destructive clone)

App Storage / Database Attach

Endpoints for:
  • Object storage bucket attachment and configuration
  • Database connectivity for applications

Audit Log / Log Drain

Endpoints for:
  • Fleet-wide audit trail and log management
  • External log sink configuration per application
GET /api/v1/audit-log accepts optional query params: limit, before (RFC3339 cursor), path, method, client_kind (exact match), q (case-insensitive substring across actor name, ability, method, path and remote address), status=failed (only status_code >= 400), and format=csv. All filters combine with AND and the CSV export honors them.

AI Models / GPUs

AI model resources on GPU nodes and the GPU node snapshots they schedule against. Details: AI models.

Other

Routes that do not fit an existing group.

See also

Last modified on October 12, 2026