---
title: "Gets a single exclusion details"
method: GET
path: "/v1/accounts/{accountSid}/exclusions/{exclusionSid}"
tags: ["Exclusions"]
---

# Gets a single exclusion details

`GET /v1/accounts/{accountSid}/exclusions/{exclusionSid}`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/exclusions/{exclusionSid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/exclusions/:exclusionSid/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountSid` string, required: accountSid
- `exclusionSid` string, required: exclusionSid

## Response `200`

Successful

- Exclusion
  - `sid` string, required: Sid of the exclusion
  - `accountSid` string, required: accountSid
  - `description` string, nullable: A short description for the exclusion.
  - `criteria` string, required: The criteria that should be used to exclude requests.
  - `buckets` union: An array of bucketSids that this exclusion should apply to.
    - Buckets (unresolved $ref)
    - Model2 (unresolved $ref)
  - `environments` union: An array of environments to apply this to. This should be omitted to apply to all environments.
    - Environments (unresolved $ref)
    - Model4 (unresolved $ref)
  - `enabled` boolean: If the exclusion is currently enabled or not.
  - `createdAt` string, required
  - `updatedAt` string, nullable
  - `deletedAt` string, nullable

## Other responses

- `400`: Bad Request

---

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