---
title: "Get keys of supported rules"
method: GET
path: "/datainsights/v1.1/stock_reports/rules"
tags: ["Stock reports"]
---

# Get keys of supported rules

`GET /datainsights/v1.1/stock_reports/rules`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Headers

- `X-PROPERTY-ID` integer, required

## Response `200`

OK

- SupportedRules
  - `rules` Rule[]
    - `id` string: Rule key
    - `name` string: Rule Label
    - `kind` string: Rule Kind

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cloudbeds/apis/data-insights-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/data-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/data-insights-api/revisions/0a16807149c2?raw)
