---
raw: true
search:
  tags:
    - Access
    - GET
seo:
  description: >-
    Shows a Space's visibility: who can see it, and at which paths. Lists every…
    Reference for the GET /v1/spaces/{spaceId}/grants endpoint in the Spacefast
    API.
sidebar:
  label: List active space grants
  badge: GET
title: List active space grants
type: openapi-operation
---
Shows a Space's visibility: who can see it, and at which paths. Lists every active grant. Each grant names its source (config, system, or managed) and says if you can edit it here. Read the grants before you change access or make a Space public or private.

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

**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": [
    {
      "grant": {
        "name": "string",
        "audience": {
          "kind": "public"
        },
        "resources": {
          "include": [
            "string"
          ],
          "exclude": []
        },
        "capabilities": [
          "page.view"
        ],
        "constraints": {},
        "target": {
          "kind": "live"
        },
        "id": "string",
        "source": {
          "kind": "config",
          "reference": "string"
        }
      },
      "generation": 1,
      "status": "scheduled",
      "sourceExplanation": {
        "editable": true,
        "label": "string",
        "detail": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
```
