v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Project

Get a checkout key

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

get/project/{project-slug}/checkout-key/{fingerprint}

Path parameters

project-slugstring required

Project slug in the form vcs-slug/org-name/repo-name. The / characters may be URL-escaped. For projects that use GitLab or GitHub App, use circleci as the vcs-slug, replace org-name with the organization ID (found in Organization Settings), and replace repo-name with the project ID (found in Project Settings).

fingerprintstring required

An SSH key fingerprint.

Response

The checkout key.

public-keystring 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.

fingerprintstring required

An SSH key fingerprint.

preferredboolean required

A boolean value that indicates if this key is preferred.

created-atstring date-time required

The date and time the checkout key was created.

Example response

{
  "public-key": "ssh-rsa ...",
  "type": "deploy-key",
  "fingerprint": "c9:0b:1c:4f:d5:65:56:b9:ad:88:f9:81:2b:37:74:2f",
  "preferred": true,
  "created-at": "2015-09-21T17:29:21.042Z"
}