Skip to content
getgeolens.com

Export Configuration

GET
/config-ops/export/
curl --request GET \
--url https://example.com/api/config-ops/export/ \
--header 'Authorization: Bearer <token>'

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 (TYPE-N3). Using response_class=JSONResponse is the correct way to document a download endpoint in OpenAPI.

Downloadable configuration JSON with Content-Disposition attachment header.

Media type application/json
Example generated
example