---
title: "Get Index"
method: GET
path: "/api/v1/indexes/{index_id}"
tags: ["Indexes"]
---

# Get Index

`GET /api/v1/indexes/{index_id}`

Get an index by ID.

## Path parameters

- `index_id` string, required

## Query parameters

- `project_id` string, uuid, nullable
- `organization_id` string, uuid, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- IndexResponse — A searchable index over a directory of documents.
  - `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.

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-09** `b17341164de9` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-05-23** `34da5826db1c` — 1 info
  - endpoint added
- **2026-05-21** `fb63fb8d662c` — 1 breaking
  - api path removed without deprecation
- **2026-05-19** `64b8ab5b0a0a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/run-llama/apis/llama-platform/changes/api/v1/indexes/:index_id/get.md)

---

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