# Rewards

The Rewards file contains information about the rewards configured in Open Loyalty.&#x20;

A sample file is provided below:

{% file src="/files/clEhPBOxPjDJky4owldM" %}

**Available Data:**

* **rewardId**: Unique ID of the reward
* **tenantId**: ID of the tenant where the reward is created
* **type**: Type of the reward
* **name**: Name of the reward
* **brandName**: Brand name details&#x20;
* **levels**: ID's of the tiers the reward is targeted to
* **levelNames**: Names of the tiers the reward is targeted to
* **segments**: ID's of the segments the reward is targeted to
* **segmentNames**: Names of the segments the reward is targeted to
* **categories**: ID's of the categories the reward is targeted to
* **categoryNames**: Names of the categories the reward is targeted to
* **active**: Status indicating if the reward is active (true = 1 / false = null)
* **costInPoints**: Reward's cost in points
* **activity**: Time period when the reward is active
* **visibility**: Time period when the reward is visible
* **tax:** Tax value
* **taxPriceValue**: Tax price value
* **price**: Price of the reward
* **labels**: Custom attributes set for the reward
* **featured:** Featured flag of the reward
* **public:** Public flag of the reward
* **usageLimit**: Limitation of the reward's redemption
* **fulfillmentTracking**: Tracking of the reward's redemption
* **createdAt**: Date when the reward was created
* **pointValue:** Point value of the rewards
* **daysInactive**: How long is the coupon pending for
* **daysValid**: How long is the coupon valid for
* **couponGenerator**: Rules set for the coupon generator
* **couponValue**: Value of a coupon (for static coupons)
* **usageLeft**: Number of rewards left
* **dateValid**: Custom date when the reward should expire
* **updatedAt**: Date when the reward was updated


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.openloyalty.io/technical-guide/data-exports/data-structure-and-types/rewards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
