---
title: "List Agents Using Knowledge Source"
method: GET
path: "/v1/agent/knowledge-sources/{source_id}/agents"
tags: ["Knowledge Sources"]
---

# List Agents Using Knowledge Source

`GET /v1/agent/knowledge-sources/{source_id}/agents`

## Request

- Base URL: `https://api.fish.audio`
- URL: `https://api.fish.audio/v1/agent/knowledge-sources/{source_id}/agents`
- Auth: HTTP bearer

Every agent that references this source in its draft or currently
published configuration — the pre-flight check before a delete.

## Path parameters

- `source_id` string, required

## Response `200`

Request fulfilled, document follows

- object
  - `agents` PublicDependentAgent[], required: Agents that reference this resource in their configuration.
    - `agent_id` string, required
    - `name` string, required
  - `total` integer, required

## Other responses

- `401`: No permission -- see authorization schemes
- `404`: Nothing matches the given URI
- `503`: The server cannot process the request due to a high load

## Changes

- **2026-11-03** `42ac421f7a12`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fish/apis/fishaudio-openapi/changes/v1/agent/knowledge-sources/:source_id/agents/get.md)

---

[API](https://skmtc.dev/fish/apis/fishaudio-openapi.md) - [All operations](https://skmtc.dev/fish/apis/fishaudio-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/fish/apis/fishaudio-openapi/revisions/42ac421f7a12?raw)
