AI ready
Open in Claude (opens in a new tab)View as Markdown

Get an SSH key

GET/ssh-keys/{sshKeyId}

Use this to read one key's name and fingerprint.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
ssh_keys:read
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • sshKeyIdstring (uuid)Required

    The SSH key's id.

  • Clouduxe-VersionstringOptional

    The API version to use, such as 2026-12-01. Omit it to use your token's version.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

200OK The key.

  • objectstringRequired

    The object's type. Always "ssh_key".

  • idstring (uuid)Required

    The key's id.

  • namestringRequired

    The key's name.

  • typestringRequired

    The key type.

    One ofssh-ed25519ssh-rsaecdsa-sha2-nistp256ecdsa-sha2-nistp384ecdsa-sha2-nistp521
  • fingerprintstringRequired

    The key's SHA256 fingerprint, as ssh-keygen -l prints it.

  • referencestring or nullRequired

    Your own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.

    min length 1, max length 100
  • metadataobjectRequired

    Your own key-value data on this object.

    max 20 keys
  • createdAtstring (date-time)Required

    When the key was added.

  • livemodebooleanRequired

    True for objects of your live account.

Every response

  • 200OKThe key.
  • 400Bad requestThe request is not valid. Codes: version_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
  • 404Not foundNot found. Codes: not_found.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: unavailable.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.