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

# Get all data views

`GET /api/data_views`

**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</span></div>

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

Retrieve a list of all data views. Use this endpoint to identify available data views in the current Kibana space.

## Response `200`

Indicates a successful call.

- object
  - `data_view` object[]
    - `id` string
    - `name` string
    - `namespaces` string[]
    - `title` string
    - `typeMeta` object

## 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)
