---
title: "Get response rule workload"
method: GET
path: "/response/workload_rules/{id}"
tags: ["Response Rule"]
---

# Get response rule workload

`GET /response/workload_rules/{id}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/response/workload_rules/{id}`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/response/workload_rules/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `X-Auth-Token` string, required

## Response `200`

Success

- RESTResponseRulesData
  - `rules` RESTResponseRule[], required
    - `id` integer, required
    - `event` string, required
    - `comment` string, required
    - `group` string, required
    - `conditions` RESTCLUSEventCondition[], required
      - `type` string
      - `value` string
    - `actions` string[], required
    - `webhooks` string[], required
    - `disable` boolean, required
    - `cfg_type` string, required

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
