---
title: "Retrieve a list of all the keys"
method: GET
path: "/v1/config/keys"
tags: ["Keys"]
---

# Retrieve a list of all the keys

`GET /v1/config/keys`

Retrieve a list of all the keys for an account. Supported key types include `ingestion` and `service`. Use the `type` parameter to filter which type of keys to retrieve.

## Query parameters

- `type` 'ingestion' | 'service' | 'all'

## Response `200`

A list of keys is returned on success.

- KeyResource[]
  - `id` string — The ID of the key
  - `key` string — A secret key which can be used to authenticate requests to Mezmo.
  - `name` string — A user friendly name for the key
  - `type` 'ingestion' | 'service' — The type of the key
  - `created` integer — The time the key was created as a Unix timestamp in milliseconds

## Other responses

- `400` — The supplied request is invalid or malformed.

---

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