---
title: "List write-only organization secrets"
method: GET
path: "/v1/org/secrets"
tags: ["Secrets"]
---

# List write-only organization secrets

`GET /v1/org/secrets`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/secrets`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Lists the organization's secrets: what each is for, where it is used, who can use it and when it was last used. Never returns secret values.

## Response `200`

Organization secrets.

- OrganizationSecretListResponse
  - `secrets` OrganizationSecretSummary[], required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `secretType` 'mcp_header' | 'http_header' | 'ssh_key' | 'cli_env' | 'web_login', required
    - `executionBoundary` 'cloud_only' | 'desktop_allowed', required
    - `targetHost` string, nullable, required
    - `targetCommand` string, nullable, required
    - `headerName` string, nullable, required
    - `headerPrefix` string, nullable, required
    - `envName` string, nullable, required
    - `loginUsername` string, nullable, required
    - `keyProvider` string, required
    - `secretVersion` integer, required
    - `lastUsedAt` string, date-time, nullable, required
    - `blindUseSummary` object, required
      - `everyone` boolean, required
      - `teams` integer, required
      - `members` integer, required
      - `agents` integer, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400`: Invalid request or machine caller attempted to write a secret.
- `401`: Sign-in required.
- `403`: Missing permission, recent sign-in, or blind-use authorization.
- `404`: Organization secrets are off or resource not found.

## Changes

- **2026-12-03** `b433928052b7`: 4 breaking
  - removed the required property `secrets/items/sshFingerprint` from the response with the `200` status
  - removed the required property `secrets/items/sshPublicKey` from the response with the `200` status
  - removed the required property `secrets/items/targetConnectionId` from the response with the `200` status
  - removed the required property `secrets/items/targetConnectionName` from the response with the `200` status
- **2026-12-03** `6a95d77df4da`: 1 warning, 2 info
  - added the new `web_login` enum value to the `secrets/items/secretType` response property for the response status `200`
  - added the required property `secrets/items/lastUsedAt` to the response with the `200` status
  - added the required property `secrets/items/loginUsername` to the response with the `200` status
- **2026-12-02** `1c1cd9580c18`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/secrets/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
