---
title: "List all versions of a secret"
method: GET
path: "/v1/vaults/{vault_id}/secret-versions/{path}"
tags: ["Secrets"]
---

# List all versions of a secret

`GET /v1/vaults/{vault_id}/secret-versions/{path}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/vaults/{vault_id}/secret-versions/{path}`
- Auth: HTTP bearer

## Path parameters

- `vault_id` string, uuid, required
- `path` string, required

## Response `200`

Version list

- SecretVersionListResponse
  - `versions` SecretMetadataResponse[]
    - `id` string, uuid, required
    - `path` string, required
    - `type` string, required
    - `version` integer, required
    - `metadata` object
    - `created_at` string, date-time, required
    - `expires_at` string, date-time
    - `is_disabled` boolean: Whether this version has been disabled (retained for audit but unreadable)

## Other responses

- `404`: Resource not found

---

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