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
exampleBad request — invalid query parameters or payload
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Unauthorized — missing or invalid credentials
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Forbidden — caller lacks access to this resource
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Not found
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Validation error
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Internal server error
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}