Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt

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

The canonical schema lives in openapi.yaml. This page is a high-level map of the surface.

Categories

CategoryPrefixDescription
Health/Unprefixed health and readiness probes
Auth/api/v1/authIdentity endpoints
Runtime/api/v1/runtimeSettings, diagnostics, volume access
Sessions/api/v1/sessionsHistory, turns, stats, export, restore
Sandboxes/api/v1/sandboxesDaytona sandbox management
Runs/api/v1/runsExecution run steps
Memory/api/v1/memoryMemory item browsing
Optimization/api/v1/optimizationGEPA optimization, datasets, runs
Traces/api/v1/tracesMLflow trace feedback
WebSocket/api/v1/wsReal-time chat and execution streams

Authentication

All /api/v1/* endpoints require authentication when AUTH_REQUIRED=true. Behavior depends on AUTH_MODE:
ModeBehavior
devDebug headers, local HS256 tokens, optional identity
entraJWKS-backed Entra ID tokens, Neon tenant admission required

Health endpoints

Unauthenticated probes for load balancers and orchestrators.

GET /health

Liveness check.
{
  "ok": true,
  "version": "0.5.0"
}

GET /ready

Readiness check with component status.
{
  "ready": true,
  "planner_configured": true,
  "planner": "ready",
  "database": "ready",
  "database_required": true,
  "sandbox_provider": "daytona"
}
FieldValuesDescription
readybooleanOverall readiness
plannerready, missingPlanner LM status
databaseready, missing, disabled, degradedDatabase connectivity

Auth

GET /api/v1/auth/me

Returns the authenticated user’s identity envelope.
{
  "tenant_claim": "tenant-123",
  "user_claim": "user-456",
  "email": "user@example.com",
  "name": "Jane Doe",
  "tenant_id": "uuid-...",
  "user_id": "uuid-..."
}

Runtime

EndpointMethodPurpose
/api/v1/runtime/settingsGETRead runtime settings
/api/v1/runtime/settingsPATCHMutate settings (local-only)
/api/v1/runtime/tests/daytonaPOSTConnectivity probe against Daytona
/api/v1/runtime/tests/lmPOSTConnectivity probe against the planner LM
/api/v1/runtime/statusGETComposite runtime status
/api/v1/runtime/volume/treeGETList durable volume contents
/api/v1/runtime/volume/fileGETRead a single durable-volume file
PATCH /api/v1/runtime/settings is intentionally restricted to APP_ENV=local. In staging and production it is read-only.

Sessions

EndpointMethodPurpose
/api/v1/sessions/stateGETActive session envelope
/api/v1/sessionsGETList sessions
/api/v1/sessions/{id}GETSession detail
/api/v1/sessions/{id}DELETEDelete a session
/api/v1/sessions/{id}/turnsGETConversation turns
/api/v1/sessions/{id}/exportPOSTExport session manifest

Optimization

EndpointMethodPurpose
/api/v1/optimization/statusGETBackground runner status
/api/v1/optimization/runPOSTTrigger an optimization run
/api/v1/optimization/modulesGETList registered DSPy modules
/api/v1/optimization/runsGET / POSTList or create runs
/api/v1/optimization/runs/{run_id}GETSingle run detail
/api/v1/optimization/runs/{run_id}/resultsGETRun results
/api/v1/optimization/runs/compareGETBaseline vs optimized comparison
/api/v1/optimization/datasetsGET / POSTList or upload datasets
/api/v1/optimization/datasets/{dataset_id}GETDataset detail

Traces

POST /api/v1/traces/feedback

Submit thumbs-up / thumbs-down feedback for an MLflow trace. Used by the Workbench feedback UI.

WebSocket

Two WebSocket endpoints power the live UI. Both require the same auth as HTTP endpoints when AUTH_REQUIRED=true.
EndpointStream
/api/v1/ws/executionChat stream events — user-facing turn-taking
/api/v1/ws/execution/eventsExecution graph events — tool calls, sandbox steps, recursive delegation
Behind a reverse proxy, ensure HTTP/1.1 upgrade is supported and response buffering is disabled.

Source of truth

When this page disagrees with the code, trust:
  • src/fleet_rlm/api/main.py — app factory and route mounting.
  • src/fleet_rlm/api/routers/ — individual routers.
  • openapi.yaml — generated schema.