---
title: "Get one published version's YAML and hash; the YAML is masked without fleet_configs PUT or POST"
method: GET
path: "/api/{org_id}/fleet/configs/{id}/versions/{version}"
tags: ["Fleet"]
---

# Get one published version's YAML and hash; the YAML is masked without fleet_configs PUT or POST

`GET /api/{org_id}/fleet/configs/{id}/versions/{version}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/fleet/configs/{id}/versions/{version}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/fleet/configs/:id/versions/:version/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required
- `version` integer, required

## Response `200`

Success

- ConfigVersion
  - `hash` string, required
  - `version` integer, required
  - `yaml` string, required

## Other responses

- `400`: Invalid version
- `403`: Forbidden
- `404`: Not found

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
