---
title: "List secret sets"
description: "Lists the account's secret sets with key names and delivery metadata, never values."
canonical: "https://www.cool.computer/docs/api-reference/secrets/list-secret-sets"
---
# List secret sets

> Lists the account's secret sets with key names and delivery metadata, never values.

```http
GET https://api.cool.computer/api/secrets
```

Lists the account's secret sets with key names and delivery metadata, never values.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Responses

- `200`: The account's secret sets.
  - `application/json` (object)
    - `secret_sets` (array of object, required)
      - `state` ("pending" or "invalid"): Pending while host acknowledgement finishes; invalid in lists when stored metadata needs complete replacement or deletion.
      - `id` (integer, required)
      - `name` (string, required)
      - `keys` (array of string, required)
      - `deliveries` (object, required): Delivery metadata by key name.
        - `*` (object): Each value, under a name of the caller's.
          - `delivery` ("env" or "proxy", required): env puts the value in the computer's environment; proxy injects it into matching outbound requests and never reveals it to the computer.
          - `stand_in_id` (string, pattern `^[0-9a-f]{32}$`): Stable stand-in identity, returned only for proxy keys.
          - `target_host` (string)
          - `header` (string)
          - `scheme` (string)
          - `methods` (array of string)
          - `paths` (array of string)
      - `created_at` (string, date-time, required)
      - `updated_at` (string, date-time, required)
- `401`: Unauthorized.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.
- `default`: A machine-readable API error with a stable code and recovery instruction.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl "https://api.cool.computer/api/secrets" \
  -H "authorization: Bearer $TOKEN"
```
