Export a gateway configuration
Export a gateway cluster’s configuration using the Gateway Manager UI or the Platform API. Exporting retrieves all services and resources from a running gateway instance and returns them as a configuration document you can store, version, or import into another environment.
Before you begin
- The target gateway must be connected and active in Gateway Manager.
- You must have the
gateway:readrole to export configurations via the Platform API.
Export via the UI
- In Gateway Manager, go to the cluster list.
- Locate the target cluster and select the three-dots overflow menu (⋯) on the cluster row.
- Select Export Configuration.
- In the dialog, select your preferred output format: JSON or YAML.
- Select Export to download the configuration file.
Export via the Platform API
The Platform API exposes export functionality through Gateway Manager. Call the export endpoint from your CI/CD pipeline or automation tooling to retrieve a configuration programmatically.
API-based exports only support JSON. To export in YAML, use the Gateway Manager UI.
Endpoint
Response
A successful export returns the full configuration for the specified cluster as a DSL document. You can pass this response directly as the content value in a future import request.
Error handling
The API returns error messages for the following conditions:
Exported file format
The export returns all decorators, repositories, and services configured in the gateway cluster. The following example shows the structure of an exported configuration file.