---
raw: true
search:
  tags:
    - Variables
    - GET
seo:
  description: >-
    Returns the variables visible to this space, including inherited team…
    Reference for the GET /v1/spaces/{spaceId}/variables endpoint in the
    Spacefast API.
sidebar:
  label: List a space's variables
  badge: GET
title: List a space's variables
type: openapi-operation
---
Returns the variables visible to this space, including inherited team values. Secret values are never returned.

`GET /v1/spaces/{spaceId}/variables`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": [
    {
      "name": "string",
      "scope": "space",
      "secret": true,
      "value": "string",
      "channelValues": {
        "property1": "string",
        "property2": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "nextCursor": "string",
    "hasMore": true
  }
}
```
