v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

List a repository's keys

get/repos/{owner}/{repo}/keys

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

key_idinteger

the key_id to search for

fingerprintstring

fingerprint of the key

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

DeployKeyList

created_atstring date-time

Created is the time when the deploy key was added

fingerprintstring

Fingerprint is the key's fingerprint

idinteger

ID is the unique identifier for the deploy key

keystring

Key contains the actual SSH key content

key_idinteger

KeyID is the associated public key ID

read_onlyboolean

ReadOnly indicates if the key has read-only access

titlestring

Title is the human-readable name for the key

urlstring

URL is the API URL for this deploy key