---
raw: true
search:
  tags:
    - Spaces
    - GET
seo:
  description: >-
    Returns the request attributes a traffic rule can match on, the comparisons
    each one… Reference for the GET /v1/rules/catalog endpoint in the Spacefast
    API.
sidebar:
  label: Get the traffic rule catalog
  badge: GET
title: Get the traffic rule catalog
type: openapi-operation
---
Returns the request attributes a traffic rule can match on, the comparisons each one makes, and what the platform caps. The same for every space. Read this before you write a rule: a field only makes the comparisons listed for it.

`GET /v1/rules/catalog`

**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": {
    "fields": {
      "property1": {
        "ops": [
          "eq"
        ],
        "keyed": true
      },
      "property2": {
        "ops": [
          "eq"
        ],
        "keyed": true
      }
    },
    "operators": {
      "property1": "string",
      "property2": "string"
    },
    "limits": {
      "rulesPerSpace": -9007199254740991,
      "conditionsPerRule": -9007199254740991,
      "firewallConditionsPerRule": -9007199254740991,
      "valuesPerCondition": -9007199254740991,
      "valueCharacters": -9007199254740991,
      "descriptionCharacters": -9007199254740991
    }
  }
}
```
