---
title: "Get a KeySet"
method: GET
path: "/v2/control-planes/{controlPlaneId}/core-entities/key-sets/{KeySetId}"
tags: ["KeySets"]
---

# Get a KeySet

`GET /v2/control-planes/{controlPlaneId}/core-entities/key-sets/{KeySetId}`

Get a KeySet using ID or name.

## Response `200`

Successfully fetched KeySet

- KeySet
  - `created_at` integer, nullable — Unix epoch when the resource was created.
  - `id` string, nullable — A string representing a UUID (universally unique identifier).
  - `name` string, nullable — The name to associate with the given key-set.
  - `tags` string[], nullable — A set of strings representing tags.
  - `updated_at` integer, nullable — Unix epoch when the resource was last updated.

## Other responses

- `401` — Unauthorized
- `404` — Resource does not exist

## Changes

- **2025-07-22** `2c77aeaee5fb` — 1 breaking
  - the response property `tags` became nullable for the status `200`
- **2025-04-15** `fc6abbc537f3` — 2 breaking, 2 info
  - the response property `created_at` became nullable for the status `200`
  - the response property `updated_at` became nullable for the status `200`
  - the response optional property `created_at` became not read-only for the status `200`
  - the response optional property `updated_at` became not read-only for the status `200`
- **2024-11-11** `08ead66e9ebb` — 3 breaking, 1 info
  - the response property `id` became nullable for the status `200`
  - the response property `name` became nullable for the status `200`
  - the response property `tags` became nullable for the status `200`
  - the response optional property `id` became not read-only for the status `200`

[Change history](https://skmtc.dev/kong/apis/konnect-api/changes/v2/control-planes/:controlPlaneId/core-entities/key-sets/:KeySetId/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/72502a676a92/schema)
