---
title: "GET /templates/sensitivity-inspections/{id}"
method: GET
path: "/templates/sensitivity-inspections/{id}"
---

# GET /templates/sensitivity-inspections/{id}

`GET /templates/sensitivity-inspections/{id}`

Retrieves the settings for the sensitivity inspection template for an account.

## Path parameters

- `id` string, required

## Response `200`

Success

- GetSensitivityInspectionTemplateResponse
  - `description` string — The custom description of the template.
  - `excludes` object — <p>The managed data identifiers that are explicitly excluded (not used) when analyzing data.</p>
    - `managedDataIdentifierIds` String[] — An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list of valid values, use the ListManagedDataIdentifiers operation.
  - `includes` object — The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing data.
    - `allowListIds` String[] — An array of unique identifiers, one for each allow list to include.
    - `customDataIdentifierIds` String[] — An array of unique identifiers, one for each custom data identifier to include.
    - `managedDataIdentifierIds` String[] — <p>An array of unique identifiers, one for each managed data identifier to include.</p> <p>Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation.</p> <para/>
  - `name` string — The name of the template: automated-sensitive-data-discovery.
  - `sensitivityInspectionTemplateId` string — The unique identifier for the template.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/macie2.md) · [All operations](https://skmtc.net/aws/apis/macie2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/macie2/versions/6252cf55d8ef/schema)
