---
title: "Get Exclusion Rule"
method: GET
path: "/v1/config/ingestion/exclusions/{id}"
tags: ["Exclusions"]
---

# Get Exclusion Rule

`GET /v1/config/ingestion/exclusions/{id}`

Returns an exclusion rule with the id specified.

## Path parameters

- `id` string, required

## Response `200`

OK

- StreamExclusionRequest[]
  - `hosts` Hosts[]
  - `apps` Apps[]
  - `title` string, required
  - `active` boolean
  - `indexonly` boolean
  - `query` string — Search query.
  - `id` string

## Other responses

- `400` — Malformed ingestion exclusion rule response payload. The exclusion rule may be stored incorrectly
- `404` — Exclusion rule not found
- `500` — Internal Server Error. Failed to get exclusion rule

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/revisions/fb2535545d90/schema)
