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

# List Secrets

`GET /secrets`

List stored secrets. Encrypted values only returned when include_encrypted=True.

## Query parameters

- `type` string, nullable — Filter by secret type
- `provider` string, nullable — Filter by provider
- `id` string, nullable — Filter by exact secret ID
- `authorizer_id` string, nullable — Filter by authorizer artifact ID
- `include_encrypted` boolean — Include encrypted_value in response

## Response `200`

Successful Response

- SecretResponse[]
  - `id` string, required
  - `type` string, required
  - `provider` string, required
  - `label` string, required
  - `created_time` string, required
  - `is_default` boolean, required
  - `authorizer_id` string, nullable
  - `encrypted_value` string, nullable
  - `expires_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agience/apis/agience-platform-api.md) · [All operations](https://skmtc.net/agience/apis/agience-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agience/agience-platform-api/revisions/187bad270c94/schema)
