Skip to content
Hayonix

API reference · Schema

SshKey

  • objectstringrequired

    Always `ssh_key`: the type of this object

    One ofssh_key

  • idstringrequired

    Unique ID (`ssh_…`)

    ID with prefix ssh_

  • project_idstringrequired

    Project it belongs to

    ID with prefix prj_

  • namestringrequired

    Its name

  • public_keystringrequired

    Key type and base64 key data, without the comment

  • fingerprintstringrequired

    SHA-256 fingerprint, in the form `ssh-keygen -l` prints

  • created_by_user_idstring | nullrequired

    ID of the user who created it

  • created_byobject | nullrequired

    Who created it (null: created by the platform)

    Show 3 fields of created_by
    • objectstringrequired

      Always `person`

      One ofperson

    • idstringrequired

      The person’s user ID (`usr_…`)

    • namestring | nullrequired

      Their name as they set it; null when they are no longer a member of the organization

  • created_atstring (date-time)required

    When it was created (ISO 8601, UTC)

Example
{
  "object": "ssh_key",
  "id": "ssh_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "project_id": "prj_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "name": "string",
  "public_key": "string",
  "fingerprint": "SHA256:…",
  "created_by_user_id": "string",
  "created_by": {
    "object": "person",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-01-01T00:00:00.000Z"
}

Used by