---
title: "List User Secrets"
method: GET
path: "/api/v1/secrets"
tags: ["secrets"]
---

# List User Secrets

`GET /api/v1/secrets`

## Query parameters

- `cursor` string, nullable
- `limit` integer
- `sort` string, nullable
- `order` 'asc' | 'desc'
- `search` string, nullable

## Response `200`

Successful Response

- SecretListResponse
  - `items` Secret[], required — Page of the organization's live secrets.
    - `secret_id` string, required — Opaque identifier used to reference the secret.
    - `name` string, required — Name the secret is referenced by (e.g. in ${secret:NAME}).
    - `description` string, nullable — Optional human-readable description.
    - `byte_length` integer, required — Length of the secret value in UTF-8 bytes.
    - `created_at` union — UTC timestamp the secret was created.
      - string
      - string, date-time
    - `updated_at` union — UTC timestamp the secret was last updated.
      - string
      - string, date-time
  - `next_cursor` string, nullable — Cursor for the next page, or null if none.
  - `has_more` boolean, required — True if more secrets remain beyond this page.

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) · [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trajectory/trajectory-api/revisions/d930b23b9602/schema)
