---
title: "List Knowledge Base Collection Owners"
method: GET
path: "/knowledge-bases/{kbId}/owners"
tags: ["Knowledge Base"]
---

# List Knowledge Base Collection Owners

`GET /knowledge-bases/{kbId}/owners`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/knowledge-bases/{kbId}/owners`
- Auth: API key in header `x-speakai-key` and API key in header `x-access-token`

### List Collection Owners

Everything this collection is attached to: folder and agent mappings from the map endpoint, plus every automation whose AI step names this collection directly (automations are never in the mapping table -- their link is read live from the automation's own steps, so it can't go stale).

## Path parameters

- `kbId` string, required

## Response `200`

OK

- object
  - `status` 'success'
  - `data` object[]
    - `knowledgeBaseId` string
    - `ownerType` 'folder' | 'agent' | 'automation'
    - `ownerId` string
    - `ownerName` string: Only present when ownerType is automation -- the automation's name, looked up live from its own record, not stored on a mapping row.

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
