---
title: "Get codelist by id"
method: GET
path: "/codelists/single/{id}"
tags: ["Codelists"]
---

# Get codelist by id

`GET /codelists/single/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Codelist row

- CodelistSingleResponse
  - `status` 'success', required
  - `codelist` CodelistCatalogRow, required — Global codelist header row (list/detail shapes vary slightly by endpoint)
    - `id` integer
    - `idno` string
    - `agency` string
    - `name` string — SDMX maintainable id
    - `version` string
    - `title` string
    - `description` string
    - `status` 'draft' | 'active' | 'locked' | 'archived' — Catalogue codelist lifecycle status
    - `item_count` integer — Present when with_counts is enabled
    - `dsd_component_count` integer — Present when with_counts is enabled
    - `versions_count` integer — Present on collapsed family rows

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/worldbank/apis/metadata-editor-api.md) · [All operations](https://skmtc.net/worldbank/apis/metadata-editor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldbank/metadata-editor-api/revisions/f4c8258bab5a/schema)
