---
title: "List variables"
method: GET
path: "/api/spaces/{namespace}/{repo}/variables"
tags: ["spaces"]
---

# List variables

`GET /api/spaces/{namespace}/{repo}/variables`

List a Space's variables with their values.

## Path parameters

- `namespace` string, required
- `repo` string, required

## Response `200`

Variables indexed by name

- object

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/8443210055e0/schema)
