---
title: "Gets all secrets (metadata only, no plain text keys)"
method: GET
path: "/v1/secrets"
---

# Gets all secrets (metadata only, no plain text keys)

`GET /v1/secrets`

## Response `200`

- SecretsV1 — A list of Baseten secrets.
  - `secrets` SecretV1[], required
    - `id` string, required — Stable identifier for the secret. Unchanged across rotation.
    - `created_at` string, date-time, required — Time the secret was created in ISO 8601 format
    - `name` string, required — Name of the secret
    - `team_name` string, required — Name of the team the secret belongs to

---

[API](https://skmtc.net/baseten/apis/baseten-inference-api.md) · [All operations](https://skmtc.net/baseten/apis/baseten-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baseten/baseten-inference-api/versions/a55a2f64c3c5/schema)
