---
title: "Inspect a secret set"
description: "Returns one secret set's key names and delivery metadata, never values."
canonical: "https://www.cool.computer/docs/api-reference/secrets/inspect-a-secret-set"
---
# Inspect a secret set

> Returns one secret set's key names and delivery metadata, never values.

```http
GET https://api.cool.computer/api/secrets/{secret_set}
```

Returns one secret set's 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.

## Parameters

- `secret_set` (path, string, pattern `^[a-z0-9][a-z0-9:_-]{0,62}$`, required): The secret set's name.

## Responses

- `200`: The secret set.
  - `application/json` (object)
    - `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.
- `404`: Not Found.
- `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/$PARAM_SECRET_SET" \
  -H "authorization: Bearer $TOKEN"
```
