---
title: "GET /2020-05-31/key-group/{Id}"
method: GET
path: "/2020-05-31/key-group/{Id}"
---

# GET /2020-05-31/key-group/{Id}

`GET /2020-05-31/key-group/{Id}`

Gets a key group, including the date and time when the key group was last modified.

To get a key group, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using `ListDistributions` or `GetDistribution`. If the key group is not referenced in a cache behavior, you can get the identifier using `ListKeyGroups`.

## Path parameters

- `Id` string, required

## Response `200`

Success

## Other responses

- `480` — NoSuchResource

---

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