---
title: "POST /knowledgebases/"
method: POST
path: "/knowledgebases/"
---

# POST /knowledgebases/

`POST /knowledgebases/`

Lists the knowledge bases in an account. The list also includesinformation about each knowledge base.

## Request body

- object
  - `maxResults` integer — The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.
  - `nextToken` string — If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.

## Response `200`

Success

- ListKnowledgeBasesResponse
  - `knowledgeBaseSummaries` KnowledgeBaseSummary[], required — A list of knowledge bases with information about each knowledge base.
    - `knowledgeBaseId` string, required — The unique identifier of the knowledge base.
    - `name` string, required — The name of the knowledge base.
    - `description` string — The description of the knowledge base.
    - `status` 'CREATING' | 'ACTIVE' | 'DELETING' | 'UPDATING' | 'FAILED' | 'DELETE_UNSUCCESSFUL' | 'UPDATE_UNSUCCESSFUL', required — The status of the knowledge base.
    - `updatedAt` string, date-time, required — The time the knowledge base was last updated.
  - `nextToken` string — If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agent.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agent/versions/a3b2356f17da/schema)
