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

# List pipeline secrets

`GET /pipeline-secrets`

Lists all available pipeline secrets in a user context. Append `?workspaceId` to list secrets in a workspace context.

## Query parameters

- `workspaceId` integer

## Response `200`

OK

- ListPipelineSecretsResponse
  - `pipelineSecrets` PipelineSecret[]
    - `dateCreated` string, date-time
    - `id` integer, nullable
    - `lastUpdated` string, date-time
    - `lastUsed` string, date-time
    - `name` string, required
  - `totalSize` integer

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
