---
title: "List team CLI keys"
method: GET
path: "/teams/{teamId}/cli-keys"
tags: ["Team CLI Key"]
---

# List team CLI keys

`GET /teams/{teamId}/cli-keys`

Return all CLI keys for the specified team.

## Path parameters

- `teamId` string, required

## Response `200`

- TeamCliKeyListResponseDto
  - `statusCode` number, required
  - `type` string, required
  - `data` TeamCliKeyMetadataDto[], required
    - `uuid` string, uuid, required
    - `name` string, required
    - `active` boolean, required
    - `lastUsedAt` object, nullable
    - `createdAt` string, required
    - `createdBy` TeamCliKeyCreatedByDto
      - `uuid` string, required

## Other responses

- `400` — Validation error
- `401` — Not authenticated
- `403` — Insufficient permissions
- `500` — Unexpected error

---

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