---
title: "Gets all knowledgebases for a user."
method: GET
path: "/knowledgebases"
tags: ["Knowledgebases"]
---

# Gets all knowledgebases for a user.

`GET /knowledgebases`

## Response `200`

Collection of knowledgebases.

- KnowledgebasesDTO — Collection of knowledgebases owned by a user.
  - `knowledgebases` KnowledgebaseDTO[] — Collection of knowledgebase records.
    - `id` string — Unique id that identifies a knowledgebase.
    - `hostName` string — URL host name at which the knowledgebase is hosted.
    - `lastAccessedTimestamp` string — Time stamp at which the knowledgebase was last accessed (UTC).
    - `lastChangedTimestamp` string — Time stamp at which the knowledgebase was last modified (UTC).
    - `lastPublishedTimestamp` string — Time stamp at which the knowledgebase was last published (UTC).
    - `name` string — Friendly name of the knowledgebase.
    - `userId` string — User who created / owns the knowledgebase.
    - `urls` string[] — URL sources from which Q-A were extracted and added to the knowledgebase.
    - `sources` string[] — Custom sources from which Q-A were extracted or explicitly added to the knowledgebase.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/azure/apis/qnamaker-client.md) · [All operations](https://skmtc.net/azure/apis/qnamaker-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/qnamaker-client/versions/75b50ce22fbe/schema)
