---
title: "Get the default data view"
method: GET
path: "/api/data_views/default"
tags: ["data views"]
---

# Get the default data view

`GET /api/data_views/default`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/data_views/default</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Retrieve the identifier of the default data view for the current Kibana space.

## Response `200`

Indicates a successful call.

- object
  - `data_view_id` string

## Other responses

- `400` — Bad request

---

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