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

# List personal secrets

`GET /secrets/user`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/secrets/user`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-2/docs/secrets/user/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists the signed-in user's personal secrets. These are scoped to the caller and never appear in **GET /secrets**. By default only key names are returned; pass `reveal=true` for values.

## Query parameters

- `limit` integer
- `reveal` boolean

## Response `200`

Success

- SecretList
  - `results` SecretListItem[]
    - `key` string, required: The unique identifier for the secret
    - `value` string: The secret value (only included when reveal=true)
  - `results_total` integer
  - `truncated` boolean: More results exist than the limit returned
  - `next_cursor` string: Cursor for the next page

## Other responses

- `400`: Bad request
- `401`: Unauthorized

## Changes

- **2026-11-12** `4b1f083f4026`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-2/changes/secrets/user/get.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-2.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-2/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-2/revisions/4b1f083f4026?raw)
