Export Configuration
GET
/config-ops/export/
const url = 'https://example.com/api/config-ops/export/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Downloadable configuration JSON with Content-Disposition attachment header.
Media type application/json
Example generated
example