API Overview

REST API for parsing, rendering, validation, templates, and connected Cloud workflows; inspect it at /swagger-ui/.

Rustume exposes an Axum REST API from the server that also serves the web UI. OpenAPI documentation is available at /api-docs/openapi.json; Swagger UI is available at /swagger-ui/.

Deployment contexts

DeploymentAPI access
Browser-local or basic self-hostingCore parsing, rendering, validation, and templates
Self-hosted connected deploymentCore endpoints plus account-backed Cloud workflows
Rustume CloudThe same connected API on an operated hosted deployment

Endpoint groups

GroupAuthenticationAvailability
Parse, render, validate, templates, healthNoneEvery deployment
Prometheus metricsBearer METRICS_TOKENConfigured server deployments
Authentication and resume storageSession cookieConnected deployments
Sync, public sharing, history, API keysSession or scoped key as appropriateConnected deployments
Hosted billing managementHosted account sessionRustume-operated service only

Billing manages access to hosted operations; it does not change which product capabilities are available when running the open-source connected application.

Cloud authentication

WorkOS login establishes an HttpOnly session cookie for browser workflows. Scoped API keys support programmatic connected workflows without reusing browser credentials.

Configuration and limits

JSON requests use application/json; PDF and preview routes return binary PDF/PNG output. Set CORS_ORIGIN explicitly when browser credentials cross origins.

GET /metrics requires Authorization: Bearer <METRICS_TOKEN>. Optional Sentry integration is activated with SENTRY_DSN; database-aware health probing is enabled when connected Cloud state is configured.