Config Ops

Export Configuration

Export full configuration as JSON (settings + OAuth providers, secrets redacted).

Returns a downloadable JSON payload with Content-Disposition header. This is a file-download endpoint — the previous response_model=ConfigExportResponse was silently ignored because the handler returns a raw JSONResponse with custom headers. Using response_class=JSONResponse is the correct way to document a download endpoint in OpenAPI.

get/config-ops/export/

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Response

Downloadable configuration JSON with Content-Disposition attachment header.

unknown required

Changes

No recorded changes to this operation across all 50 revisions of this API.