---
title: "GET /api/v1/ruleenforcements/views"
method: GET
path: "/api/v1/ruleenforcements/views"
---

# GET /api/v1/ruleenforcements/views

`GET /api/v1/ruleenforcements/views`

Returns a list of all the rule enforcements.

## Query parameters

- `exclude_attributes` string[]
- `include_attributes` string[]
- `limit` integer
- `offset` integer
- `sort` string
- `id` string[]
- `name` string[]
- `execution` string
- `rule_ref` string
- `rule_id` string
- `trigger_instance` string
- `enforced_at_gt` string
- `enforced_at_lt` string

## Response `200`

List of rule enforcements

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/stackstorm/apis/stackstorm-api.md) · [All operations](https://skmtc.net/stackstorm/apis/stackstorm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stackstorm/stackstorm-api/versions/85e49f390588/schema)
