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

# POST /ListIndexes

`POST /ListIndexes`

Returns a list of all the vector indexes within the specified vector bucket. To specify the bucket, you must use either the vector bucket name or the vector bucket Amazon Resource Name (ARN).

Permissions

You must have the `s3vectors:ListIndexes` permission to use this operation.

## Request body

- object
  - `vectorBucketName` string — The name of the vector bucket that contains the vector indexes.
  - `vectorBucketArn` string — The ARN of the vector bucket that contains the vector indexes.
  - `maxResults` integer — The maximum number of items to be returned in the response.
  - `nextToken` string — The previous pagination token.
  - `prefix` string — Limits the response to vector indexes that begin with the specified prefix.

## Response `200`

Success

- ListIndexesOutput
  - `nextToken` string — The next pagination token.
  - `indexes` IndexSummary[], required — The attributes of the vector indexes
    - `vectorBucketName` string, required — The name of the vector bucket that contains the vector index.
    - `indexName` string, required — The name of the vector index.
    - `indexArn` string, required — The Amazon Resource Name (ARN) of the vector index.
    - `creationTime` string, date-time, required — Date and time when the vector index was created.

## Other responses

- `480` — ValidationException
- `481` — ServiceUnavailableException
- `482` — TooManyRequestsException
- `483` — InternalServerException
- `484` — AccessDeniedException
- `485` — RequestTimeoutException
- `486` — NotFoundException

---

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