List your SSH keys

The SSH public keys the signed-in person added to their account, newest first, removed ones left out.

GET/v1/ssh-keys

The SSH public keys the signed-in person added to their account, newest first, removed ones left out. An SSH key is the person's, not an organization's or a project's: it signs in to any sandbox the person's role reaches with sandboxes:exec, in every organization they belong to (getSandboxSsh). People only; an API key answers person_required.

For people only: a signed-in person's token makes this call. An API key is refused with person_required.

Request

curl "https://api.pod.mapier.ai/v1/ssh-keys" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN"

Parameters

NameInTypeRequiredWhat it is
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of the person's SSH keys, newest first.

200
{
  "data": [
    {
      "id": "ssk_3ahrz6dmv29gqy5ckt18fp",
      "name": "example",
      "type": "ssh-ed25519",
      "fingerprint": "example",
      "public_key": "example",
      "created_at": "2026-11-23T12:00:00.000Z",
      "expires_at": null,
      "removed_at": null
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataSshKey[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid, person_required. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.sshKeys.list()
Pythonpod.ssh_keys.list()