---
title: "Get current index name"
method: GET
path: "/api/v2/indexing/current"
tags: ["IndexV2"]
---

# Get current index name

`GET /api/v2/indexing/current`

This method will return the name of the index that is currently being used for search. If there is no “current index,” an error will be returned.

## Headers

- `X-HawkSearch-ApiKey` string, required

## Response `200`

OK

- object

---

[API](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) · [All operations](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hawksearch/hawksearch-elasticsearch-indexingapi/versions/24cba7bf3468/schema)
