---
title: "List workspace secret names"
method: GET
path: "/v1/fleet/secrets"
tags: ["fleet secrets"]
---

# List workspace secret names

`GET /v1/fleet/secrets`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/v1/fleet/secrets`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

Lists the names of secrets configured for the workspace. Use this to check which model API keys (see a model's required_secrets) are already set. Secret values are never returned. Secrets are a single shared namespace per workspace. Any agent (triggered by any member) can use them, and any member whose role grants workspaces:manage-secrets (Workspace Admins by default) can overwrite or delete them. Setting an existing name replaces its value for everyone. Treat them as shared team credentials, not personal keys.

## Query parameters

- `page_size` integer
- `cursor` string

## Response `200`

OK

- SecretsListResponse
  - `items` SecretsSecretItem[]
    - `name` string
    - `set` boolean: Set is always true for items returned by the list endpoint — a key only appears when it has a value. It lets a client diff this list against a model's required_secrets to find which required keys are still missing.
  - `next_cursor` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/v1/fleet/secrets/get.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
