---
raw: true
search:
  tags:
    - Tags
    - GET
seo:
  description: >-
    Returns consent categories, per-tag gates, privacy-signal… Reference for the
    GET /v1/spaces/{spaceId}/tags/consent-policy endpoint in the Spacefast API.
sidebar:
  label: Explain a space's tag consent policy
  badge: GET
title: Explain a space's tag consent policy
type: openapi-operation
---
Returns consent categories, per-tag gates, privacy-signal defaults, and consent diagnostics for the effective tag graph.

`GET /v1/spaces/{spaceId}/tags/consent-policy`

**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": {
    "environment": "production",
    "revisionId": "string",
    "graphRevision": 0,
    "policy": {
      "version": 1,
      "categories": [
        "necessary",
        "functional",
        "analytics",
        "marketing",
        "personalization"
      ],
      "categoryDefinitions": {
        "necessary": {
          "label": "Necessary",
          "description": "Required for basic site delivery, security, or visitor-requested actions.",
          "defaultGranted": true,
          "required": true,
          "privacySignalDefaultDenied": false,
          "requiresConsentInGdprCountries": false
        },
        "functional": {
          "label": "Functional",
          "description": "Supports optional site features such as chat, support, comments, or monitoring.",
          "defaultGranted": true,
          "required": false,
          "privacySignalDefaultDenied": false,
          "requiresConsentInGdprCountries": false
        },
        "analytics": {
          "label": "Analytics",
          "description": "Measures visits, usage, performance, funnels, or product behavior.",
          "defaultGranted": true,
          "required": false,
          "privacySignalDefaultDenied": true,
          "requiresConsentInGdprCountries": true
        },
        "marketing": {
          "label": "Marketing",
          "description": "Supports ads, retargeting, attribution, conversion measurement, or campaigns.",
          "defaultGranted": true,
          "required": false,
          "privacySignalDefaultDenied": true,
          "requiresConsentInGdprCountries": true
        },
        "personalization": {
          "label": "Personalization",
          "description": "Adapts content, recommendations, or experiences based on visitor behavior.",
          "defaultGranted": true,
          "required": false,
          "privacySignalDefaultDenied": true,
          "requiresConsentInGdprCountries": true
        }
      },
      "defaultByCategory": {
        "necessary": true,
        "functional": true,
        "analytics": true,
        "marketing": true,
        "personalization": true
      },
      "regionDefaults": {},
      "privacySignals": {
        "gpc": true,
        "dnt": true,
        "categories": [
          "analytics",
          "marketing",
          "personalization"
        ]
      },
      "tags": {},
      "diagnostics": []
    }
  }
}
```
