---
title: "Get a configuration with its draft and version history; the draft YAML is masked without fleet_configs PUT or POST"
method: GET
path: "/api/{org_id}/fleet/configs/{id}"
tags: ["Fleet"]
---

# Get a configuration with its draft and version history; the draft YAML is masked without fleet_configs PUT or POST

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

## 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}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/fleet/configs/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Response `200`

Success

- FleetConfigDetail
  - `collectors` integer, required
  - `description` string, required
  - `fleets` CollectorFleet[], required: The readable fleets whose desired or stable version is this configuration.
    - `id` string, required
    - `name` string, nullable
  - `fleets_hidden` integer: Fleets using this configuration that the caller cannot read.
  - `id` string, required
  - `latest_version` integer, required
  - `live_version` integer, nullable
  - `updated_at` integer, required
  - `updated_by` string, required
  - `draft` ConfigDraft
    - `at` integer, required
    - `by` string, required
    - `yaml` string, required
  - `versions` ConfigVersionSummary[], required
    - `at` integer, required
    - `author` string, required
    - `live` boolean, required
    - `message` string, required
    - `state` 'published' | 'rolling_out'
    - `version` integer, required

## Other responses

- `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)
