# List rule attributes

> Source: /api-reference/partner/explorer/loyalty/rule-attributes/list
> The attribute vocabulary a benefit eligibility rule may be built from: each entry gives the attribute key, its value type, the operators it accepts, and whether it supports a time window. Static configuration — a rule referencing an attribute absent from this list cannot be evaluated.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `GET /v1/partner/loyalty/rule-attributes`

```json
{
  "description": "The attribute vocabulary a benefit eligibility rule may be built from: each entry gives the attribute key, its value type, the operators it accepts, and whether it supports a time window. Static configuration — a rule referencing an attribute absent from this list cannot be evaluated.",
  "operationId": "loyaltyRuleAttributesPartner_list",
  "parameters": [],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "attributes": {
                "items": {
                  "properties": {
                    "allowedOperators": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array",
                      "examples": [
                        [
                          "gte",
                          "lte",
                          "eq"
                        ]
                      ]
                    },
                    "key": {
                      "type": "string",
                      "examples": [
                        "nights_stayed"
                      ]
                    },
                    "label": {
                      "type": "string",
                      "examples": [
                        "Nights stayed"
                      ]
                    },
                    "valueType": {
                      "type": "string",
                      "examples": [
                        "number"
                      ]
                    },
                    "windowed": {
                      "type": "boolean",
                      "examples": [
                        true
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        }
      },
      "description": "The attribute catalog."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No usable credential. Send `Authorization: Bearer <jwt>` or `X-API-Key: jny_...`."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The credential authenticated but lacks the scopes in `x-required-scopes`, or the resource belongs to another organization."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "List rule attributes",
  "tags": [
    "partner/loyalty/rule-attributes"
  ],
  "x-required-scopes": [
    [
      "partner:loyalty:benefits:read"
    ]
  ]
}
```