---
title: "Get a checkout key"
method: GET
path: "/project/{project-slug}/checkout-key/{fingerprint}"
tags: ["Project"]
---

# Get a checkout key

`GET /project/{project-slug}/checkout-key/{fingerprint}`

Returns an individual checkout key via md5 or sha256 fingerprint. sha256 keys should be url-encoded.

## Path parameters

- `project-slug` string, required
- `fingerprint` string, required

## Response `200`

The checkout key.

- object — A checkout key
  - `public-key` string, required — A public SSH key.
  - `type` 'deploy-key' | 'github-user-key', required — The type of checkout key. This may be either `deploy-key` or `github-user-key`.
  - `fingerprint` string, required — An SSH key fingerprint.
  - `preferred` boolean, required — A boolean value that indicates if this key is preferred.
  - `created-at` string, date-time, required — The date and time the checkout key was created.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
