---
title: "GET /projects/{project_id}/secrets/{secret_id}/history"
method: GET
path: "/projects/{project_id}/secrets/{secret_id}/history"
tags: ["HTTP Checks"]
---

# GET /projects/{project_id}/secrets/{secret_id}/history

`GET /projects/{project_id}/secrets/{secret_id}/history`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/secrets/{secret_id}/history`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `secret_id` integer, required

## Query parameters

- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

Secret activity and verification history; values are never recorded

- VariableHistoryList
  - `items` VariableHistoryEntry[], required
    - `created_at` string, date-time, required
    - `details` VariableHistoryDetails, required
      - `check_name` string, nullable
      - `compose_services` string[], nullable: Compose services a secret is limited to after a `scope_changed` event.
      - `environment_ids` integer[], nullable: Secret scope after a `scope_changed` event; empty means every environment.
      - `include_in_preview` boolean, nullable
      - `is_secret` boolean, nullable
      - `key` string, nullable
      - `result` VerificationResult, nullable
        - `checked_at` string, date-time, required
        - `findings` Finding[], required
          - `code` string, required
          - `message` string, required
          - `status` 'healthy' | 'warning' | 'error' | 'unknown', required
        - `status` 'healthy' | 'warning' | 'error' | 'unknown', required
    - `id` integer, required
    - `kind` string, required
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Secret not found
- `500`: Internal error

## Changes

- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-10-04** `9ad47322cbb8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/secrets/:secret_id/history/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
