---
title: "GET /collections/{name}/indexes"
method: GET
path: "/collections/{name}/indexes"
tags: ["index"]
---

# GET /collections/{name}/indexes

`GET /collections/{name}/indexes`

List secondary indexes

## Path parameters

- `name` string, required

## Response `200`

List of indexes

- Index[]
  - `Fields` object[]
    - `Descending` boolean
    - `Name` string
  - `ID` integer
  - `Name` string
  - `Unique` boolean

## Other responses

- `400` — error
- `default`

## Changes

- **2025-06-02** `60812f5416c5` — 1 info
  - api operation id `list_indexes` removed and replaced with `index_list`

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/:name/indexes/get.md)

---

[API](https://skmtc.dev/sourcenetwork/apis/defradb-api.md) · [All operations](https://skmtc.dev/sourcenetwork/apis/defradb-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sourcenetwork/apis/defradb-api/revisions/95eb31ca3da3?raw)
