---
title: "Get Ssh Keys"
method: GET
path: "/api/v1/ssh_keys/"
tags: ["SSH Keys"]
---

# Get Ssh Keys

`GET /api/v1/ssh_keys/`

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful Response

- GenericPaginationResponseListAPISSHKeyConfig
  - `total_count` integer — Total number of items available in the dataset
  - `offset` integer — Number of items to skip before starting to collect the result set
  - `limit` integer — Maximum number of items to return
  - `data` APISSHKeyConfig[], required
    - `id` string, required — Unique identifier for the SSH key.
    - `userId` string, required — ID of the user associated with this pod, if applicable.
    - `name` string, required — Name of the SSH key.
    - `publicKey` string, required — The public key part of the SSH key.
    - `isPrimary` boolean, required — Whether this SSH key is the primary key.
    - `isUserKey` boolean, required — Whether this a custom key uploaded by the user.
    - `createdAt` string, date-time — Timestamp when the SSH key was added.
    - `updatedAt` string, date-time — Timestamp when the SSH key was last updated.
  - `status` string, nullable — Response status

## Other responses

- `401` — Authorization failed
- `422` — Invalid request data

---

[API](https://skmtc.net/primeintellect/apis/pi-api.md) · [All operations](https://skmtc.net/primeintellect/apis/pi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/primeintellect/pi-api/revisions/3d3868828a78/schema)
