---
title: "Gets index metadata of versioned"
method: GET
path: "/layers/{layerId}/versions/{version}/quadkeys/{quadKey}/depths/{depth}"
tags: ["query"]
---

# Gets index metadata of versioned

`GET /layers/{layerId}/versions/{version}/quadkeys/{quadKey}/depths/{depth}`

Gets metadata for the requested index. Only available for versioned layers where the partitioning scheme is `heretile`.

## Path parameters

- `layerId` string, required
- `version` integer, required
- `quadKey` string, required
- `depth` integer, required

## Query parameters

- `context` 'default' | 'extension' | 'super'
- `additionalFields` string[]
- `billingTag` string

## Response `200`

OK

- Index
  - `checksum` string, byte — The checksum of the data being indexed by this index record.
  - `crc` string, byte — The cyclic redundancy check (CRC) of the data being indexed by this index record.
  - `fields` object — The indexing attributes for the data being indexed by this index record. The attributes must match the indexing attributes defined for the index layer. To get or set the index attributes for an index layer, use the `config` API.
  - `id` string, [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} — The unique identifier (UUID) of the data being indexed by this index record.
  - `metadata` object — User-defined fields that can store extra metadata about this index record.
  - `size` integer — The size of the data being indexed by this index record.

## Other responses

- `400` — Required parameters are missing
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/here/apis/query-api-v1.md) · [All operations](https://skmtc.dev/here/apis/query-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/here/query-api-v1/revisions/30e5d2645407/schema)
