data views
Get a data view
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/data_views/data_view/{viewId}</span></div>Refer to Spaces for more information.
Retrieve a single data view by its identifier. Data views identify the Elasticsearch data you want to explore and visualize. They can point to one or more data streams, indices, or index aliases, and use optional runtime fields to compute values at query time. Note that data views are not required for ES|QL-based visualizations. To learn more, refer to the data views documentation.
get/api/data_views/data_view/{viewId}
Path parameters
viewIdstring required
Example:ff959d40-b880-11e8-a6d9-e546fe2bba5f
An identifier for the data view.
Response
Indicates a successful call.
Example response
{
"data_view": {
"id": "ff959d40-b880-11e8-a6d9-e546fe2bba5f",
"version": "WzQ2LDJd"
}
}