---
title: "List Indexes"
method: GET
path: "/api/v1/indexes"
tags: ["Indexes"]
---

# List Indexes

`GET /api/v1/indexes`

List indexes for the current project.

## Query parameters

- `project_id` string, uuid, nullable
- `organization_id` string, uuid, nullable
- `source_directory_id` string, nullable
- `page_size` integer, nullable
- `page_token` string, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- IndexQueryResponse — Paginated list of indexes.
  - `items` IndexResponse[], required — The list of items.
    - `id` union, required — Unique identifier
      - string
      - string, uuid
    - `created_at` string, date-time, nullable — Creation datetime
    - `updated_at` string, date-time, nullable — Update datetime
    - `name` string, required — Index name.
    - `description` string, nullable — Index description.
    - `project_id` string, required — Project this index belongs to.
    - `source_directory_id` string, required — ID of the source directory.
    - `sync_config_id` string, required — ID of the sync configuration.
    - `export_config_id` string, required — ID of the export configuration.
    - `last_synced_at` string, date-time, nullable — Last sync time.
    - `last_exported_at` string, date-time, nullable — Last export time.
    - `metadata` IndexMetadata — Build state and diagnostic info about an index. Schema is open; only `status` of `ready` or `failed` is stable.
  - `next_page_token` string, nullable — A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `total_size` integer, nullable — The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.net/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/run-llama/llama-platform/revisions/b17341164de9/schema)
