---
title: "List secrets"
method: GET
path: "/v1beta/secrets"
tags: ["Secrets"]
---

# List secrets

`GET /v1beta/secrets`

## Request

- Base URL: `https://api.indices.io`
- URL: `https://api.indices.io/v1beta/secrets`
- Auth: HTTP bearer

List all your secrets. Returns metadata only, not the actual credentials.

## Response `200`

Successful response

- Secret[]
  - `id` string, required: Unique identifier for the secret.
  - `name` string, required: Human-readable name for the secret.
  - `secret_type` 'login' | 'string', required
  - `has_totp` boolean, required: Whether the secret has a TOTP configured (only applicable for login type).
  - `created_at` string, date-time, required: Timestamp when the secret was created.
  - `updated_at` string, date-time, required: Timestamp when the secret was last updated.

---

[API](https://skmtc.dev/indices/apis/indices-api.md) · [All operations](https://skmtc.dev/indices/apis/indices-api/llms.txt) · [OpenAPI document](https://skmtc.dev/indices/apis/indices-api/revisions/e0f2742c126c?raw)
