---
title: "Get resources by secret"
method: GET
path: "/v1/secrets/resources"
tags: ["Secrets"]
---

# Get resources by secret

`GET /v1/secrets/resources`

Get resources by secret.

## Query parameters

- `filter.scope` string[]
- `filter.secret_id` string[]

## Response `200`

OK

- ListResourcesBySecretsResponse
  - `resources_for_secret` ResourcesForSecret[]
    - `resources_for_type` ResourcesForType[]
      - `resource` ResourcesForTypeResource[]
        - `display_name` string
        - `id` string
      - `type` 'TYPE_PIPELINE' | 'TYPE_CLUSTER' | 'TYPE_MCP_SERVER' | 'TYPE_AI_AGENT'
    - `secret_id` string

## Other responses

- `401` — Unauthenticated.
- `500` — Internal Server Error. Reach out to support.
- `default` — An unexpected error response.

## Changes

- **2025-11-10** `f02f6241ef5f` — 1 info
  - endpoint added
- **2025-05-27** `dfa71f9d277e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/changes/v1/secrets/resources/get.md)

---

[API](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api.md) · [All operations](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redpanda-data/redpanda-cloud-data-plane-api/revisions/f02f6241ef5f/schema)
