How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Elastic Stack (ELK Stack) data views API

Data view APIs enable you to manage data views, formerly known as Kibana index patterns.

Elastic Stack (ELK Stack) data views API is one of 132 APIs that Elastic Stack (ELK Stack) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include DataViews. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 15 operations across 9 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0.

Requests are made against a single base URL, https://{kibana_url}.

15 operations 9 paths 17 schemas 2 DELETE4 GET8 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://{elasticsearch_endpoint}
Authentication
API Key, HTTP Basic
Contact
Kibana Team
Resource Areas
1

Authentication & Security 2

Elastic Stack (ELK Stack) data views API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKeyAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • apiKeyAuth — These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: Authorization: ApiKey base64A…

Paths & Operations 15

Across 9 paths, the API surfaces 15 operations — 2 DELETE, 4 GET, 8 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

data views 15

Data view APIs enable you to manage data views, formerly known as Kibana index patterns.

GET
/api/data_views
Get all data views
getAllDataViewsDefault → 200400
POST
/api/data_views/data_view
Create a data view
createDataViewDefaultw 1 param body → 200400
DELETE
/api/data_views/data_view/{viewId}
Delete a data view
deleteDataViewDefault 2 params → 204404
GET
/api/data_views/data_view/{viewId}
Get a data view
getDataViewDefault 1 param → 200404
POST
/api/data_views/data_view/{viewId}
Update a data view
updateDataViewDefault 2 params body → 200400
POST
/api/data_views/data_view/{viewId}/fields
Update field metadata
updateFieldsMetadataDefault 2 params body → 200400
POST
/api/data_views/data_view/{viewId}/runtime_field
Create a runtime field
createRuntimeFieldDefault 2 params body → 200
PUT
/api/data_views/data_view/{viewId}/runtime_field
Create or update a runtime field
createUpdateRuntimeFieldDefault 2 params body → 200400
DELETE
/api/data_views/data_view/{viewId}/runtime_field/{fieldName}
Delete a runtime field
deleteRuntimeFieldDefault 2 params → 200404
GET
/api/data_views/data_view/{viewId}/runtime_field/{fieldName}
Get a runtime field
getRuntimeFieldDefault 2 params → 200404
POST
/api/data_views/data_view/{viewId}/runtime_field/{fieldName}
Update a runtime field
updateRuntimeFieldDefault 2 params body → 200400
GET
/api/data_views/default
Get the default data view
getDefaultDataViewDefault → 200400
POST
/api/data_views/default
Set the default data view
setDefaultDatailViewDefault 1 param body → 200400
POST
/api/data_views/swap_references
Swap saved object references
swapDataViewsDefault 1 param body → 200
POST
/api/data_views/swap_references/_preview
Preview swap references
previewSwapDataViewsDefault 1 param body → 200

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are Data_views_swap_data_view_request_object (6 properties), Data_views_400_response (3 properties), Data_views_404_response (3 properties), Data_views_fieldattrs (3 properties). Each schema is shown below with its type and property counts.

Data_views_fieldformats
object
A map of field formats by field name.
Data_views_update_data_view_request_object
object
2 properties 1 required
Data_views_namespaces
array
An array of space identifiers for sharing the data view between multiple spaces.
Data_views_type
string
When set to rollup, identifies the rollup data views.
Data_views_404_response
object
3 properties
Data_views_typemeta_response
objectnull
When you use rollup indices, contains the field list for the rollup data view API endpoints.
2 properties
Data_views_swap_data_view_request_object
object
6 properties 2 required
Data_views_sourcefilters
array
The array of field names you want to filter out in Discover.
Data_views_400_response
object
3 properties 3 required
Data_views_create_data_view_request_object
object
2 properties 1 required
Data_views_fieldattrs
object
A map of field attributes by field name.
3 properties
Data_views_data_view_response_object
object
1 property
Data_views_allownoindex
boolean
Allows the data view saved object to exist before the data is available. Defaults to false.
Data_views_typemeta
object
When you use rollup indices, contains the field list for the rollup data view API endpoints.
2 properties 2 required
Data_views_runtimefieldmap
object
A map of runtime field definitions by field name.
2 properties 2 required
Data_views_timefieldname
string
The timestamp field name, which you use for time-based data views.
Data_views_title
string
Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards ().

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elk-stack-data-views-api-openapi.yml Raw ↑

Other APIs Elastic Stack (ELK Stack) publishes across the network.

Elastic Cloud API
Elastic Stack (ELK Stack) Accounts API
Elastic Stack (ELK Stack) Actions API
Elastic Stack (ELK Stack) agent builder API
Elastic Stack (ELK Stack) Alerting API
Elastic Stack (ELK Stack) Alerting V2 API
Elastic Stack (ELK Stack) Analytics API
Elastic Stack (ELK Stack) APM agent configuration API
Elastic Stack (ELK Stack) APM agent keys API
Elastic Stack (ELK Stack) APM annotations API
Elastic Stack (ELK Stack) APM server schema API
Elastic Stack (ELK Stack) APM sourcemaps API
Where this information came from

This is an independent, third-party profile of Elastic Stack (ELK Stack) data views API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.