---
title: "Get indexes order"
method: GET
path: "/api/v1/logs/config/index-order"
tags: ["Logs Indexes"]
---

# Get indexes order

`GET /api/v1/logs/config/index-order`

Get the current order of your log indexes. This endpoint takes no JSON arguments.

## Response `200`

OK

- LogsIndexesOrder — Object containing the ordered list of log index names.
  - `index_names` string[], required — Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.

## Other responses

- `403` — Forbidden
- `429` — Too many requests

---

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