---
title: "Returns the SSH keys for the users assigned to an assignment"
method: GET
path: "/assignments/{assignment_id}/ssh-keys"
tags: ["Assignments"]
---

# Returns the SSH keys for the users assigned to an assignment

`GET /assignments/{assignment_id}/ssh-keys`

## Request

- Base URL: `https://quads.example.com/api/v3`
- URL: `https://quads.example.com/api/v3/assignments/{assignment_id}/ssh-keys`
- Auth: HTTP bearer

## Path parameters

- `assignment_id` string, required

## Response `200`

SSH keys for the assignment

- object[]
  - `user` string
  - `ssh_keys` string[]

## Other responses

- `403`: Forbidden - not a member of the assignment
- `404`: Assignment not found
- `default`: Unexpected error

## Changes

- **2026-09-02** `66987ade4877`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quadsproject/apis/quads/changes/assignments/:assignment_id/ssh-keys/get.md)

---

[API](https://skmtc.dev/quadsproject/apis/quads.md) - [All operations](https://skmtc.dev/quadsproject/apis/quads/llms.txt) - [OpenAPI document](https://skmtc.dev/quadsproject/apis/quads/revisions/9d9de833ae79?raw)
