---
title: "Export a Gateway configuration as YAML"
method: GET
path: "/gateway_manager/v1/gateways/{clusterId}/configuration/export/yaml"
tags: ["Gateway Manager"]
---

# Export a Gateway configuration as YAML

`GET /gateway_manager/v1/gateways/{clusterId}/configuration/export/yaml`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/gateway_manager/v1/gateways/{clusterId}/configuration/export/yaml`
- Auth: none declared

Exports the full DB configuration from a connected Gateway 5 cluster as a YAML DSL document. Identical to exportConfiguration, but serializes the result as YAML and returns it with an application/yaml Content-Type instead of JSON. The gateway must be connected and active.

## Path parameters

- `clusterId` string, required

## Response `200`

The exported DSL configuration document for the cluster, serialized as YAML.

- string

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Gateway Manager` added
  - api tag `gatewayManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/gateway_manager/v1/gateways/:clusterId/configuration/export/yaml/get.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
