---
title: "GET /v1/namespaces/{namespace}/metadata"
method: GET
path: "/v1/namespaces/{namespace}/metadata"
---

# GET /v1/namespaces/{namespace}/metadata

`GET /v1/namespaces/{namespace}/metadata`

Get metadata about a namespace.

## Path parameters

- `namespace` string, required

## Response `200`

The metadata of the namespace.

- NamespaceMetadata — Metadata about a namespace.
  - `schema` object, required — The schema of the namespace.
  - `approx_row_count` integer, required — The approximate number of rows in the namespace.
  - `approx_logical_bytes` integer, required — The approximate number of logical bytes in the namespace.
  - `created_at` string, date-time, required — The timestamp when the namespace was created.
  - `updated_at` string, date-time, required — The timestamp when the namespace was last modified by a write operation.
  - `encryption` union, required
    - object
      - `sse` boolean, required — Always true. Indicates that the namespace is encrypted with SSE.
    - object — Indicates that the namespace is encrypted with a customer-managed encryption key (CMEK).
      - `cmek` object, required
        - `key_name` string, required — The name of the CMEK key in use.
  - `index` union, required
    - object
      - `status` 'up-to-date', required
    - object
      - `status` 'updating', required
      - `unindexed_bytes` integer, required — The number of bytes in the namespace that are in the write-ahead log but have not yet been indexed.

## Other responses

- `default` — An error response.

---

[API](https://skmtc.dev/turbopuffer/apis/turbopuffer-api.md) · [All operations](https://skmtc.dev/turbopuffer/apis/turbopuffer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/turbopuffer/apis/turbopuffer-api/revisions/780e7ed28160?raw)
