---
title: "List variables"
method: GET
path: "/editor/{id}/variables"
tags: ["Microdata"]
---

# List variables

`GET /editor/{id}/variables`

List variables for a microdata/survey project. Returns `name`, `labl`, `fid`, `vid`, `field_dtype`, and `sort_order` by default. Set `detailed=1` to include the full variable metadata blob. Supports pagination via `limit` and `offset`.

## Path parameters

- `id` integer, required

## Query parameters

- `detailed` 0 | 1
- `limit` integer
- `offset` integer

## Response `200`

successful operation

---

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