v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
users

List public keys for a user

Lists the verified public SSH keys for a user. This is accessible by anyone.

get/users/{username}/keys

Path parameters

usernamestring required

The handle for the GitHub user account.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

idinteger required
keystring required
created_atstring date-time
last_usedstring date-time nullable