---
title: "List Exclusion Rules"
method: GET
path: "/v1/config/ingestion/exclusions"
tags: ["Exclusions"]
---

# List Exclusion Rules

`GET /v1/config/ingestion/exclusions`

## Request

- Base URL: `https://api.mezmo.com/v3`
- URL: `https://api.mezmo.com/v3/v1/config/ingestion/exclusions`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mezmo/apis/pipeline-api/docs/v1/config/ingestion/exclusions/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of exclusion rules. Note: This does not return usage quota rules.

## Response `200`

OK

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

## Other responses

- `500`: Internal Server error occured when trying to fetch exclusion rules

---

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