Kibana API (v8)
Version 8.19 View the latest version (v9)
The Kibana REST API enables you to manage resources such as connectors, data views, and saved objects. The API calls are stateless. Each request that you make happens in isolation from other calls and must include all of the necessary information for Kibana to fulfill the request. API requests return JSON output, which is a format that is machine-readable and works well for automation.
To interact with the Kibana API, use the following operations:
- GET: Fetches the information.
- PATCH: Applies partial modifications to the existing information.
- POST: Adds new information.
- PUT: Updates the existing information.
- DELETE: Removes the information.
You can prepend any Kibana API endpoint with kbn: and run the request in Dev Tools → Console.
For example:
GET kbn:/api/data_views
For more information about the console, refer to Run API requests.
Access to internal Kibana API endpoints will be restricted in Kibana version 9.0. Please move any integrations to publicly documented APIs.
- Base URL
-
https://{kibana_url} - Version
- 8.19
This documentation is derived from the 8.19 branch of the kibana repository.
It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.
This documentation contains work-in-progress information for future Elastic Stack releases.
Endpoints
49 groups
- Alerting 29 endpoints Alerting enables you to define rules, which detect complex conditions within your data. When a condition is met, the rule tracks it as an alert and runs...
- APM agent configuration 7 endpoints Adjust APM agent configuration without need to redeploy your application.
- APM agent keys 1 endpoint Configure APM agent keys to authorize requests from APM agents to the APM Server.
- APM annotations 2 endpoints Annotate visualizations in the APM app with significant events. Annotations enable you to easily see how events are impacting the performance of your...
- APM server schema 1 endpoint Create APM fleet server schema.
- APM sourcemaps 3 endpoints Configure APM source maps.
- Cases 25 endpoints Cases are used to open and track issues. You can add assignees and tags to your cases, set their severity and status, and add alerts, comments, and visualizations...
- Connectors 14 endpoints Connectors provide a central place to store connection information for services and integrations with Elastic or third party systems. Alerting rules can...
- Data streams 1 endpoint Data stream APIs enable you to manage data streams, which are collections of indices that share the same index template and are managed as a single unit...
- Data views 15 endpoints Data view APIs enable you to manage data views, formerly known as Kibana index patterns.
- Elastic Agent actions 3 endpoints Elastic Agent actions APIs enable you to manage actions performed on Elastic Agents, including agent reassignment, diagnostics collection, enrollment...
- Elastic Agent binary download sources 5 endpoints Elastic Agent binary download sources APIs enable you to manage download sources for Elastic Agent binaries, including creating, updating, and deleting...
- Elastic Agent policies 9 endpoints Elastic Agent policies APIs enable you to manage agent policies, including creating, updating, and deleting policies, as well as to retrieve agent policy...
- Elastic Agent status 3 endpoints Enables you to retrieve status information about Elastic Agents, including health summaries and operational status.
- Elastic Agents 21 endpoints Elastic Agents APIs enable you to manage Elastic Agents, including retrieving agent information, managing agent lifecycle, handling file uploads, and...
- Elastic Package Manager (EPM) 18 endpoints Elastic Package Manager (EPM) APIs enable you to manage packages and integrations, including installing, updating, and uninstalling packages, managing...
- Fleet enrollment API keys 8 endpoints Fleet enrollment API keys APIs enable you to manage enrollment API keys for Fleet, including creating, retrieving, and revoking API keys used for agent...
- Fleet internals 4 endpoints Fleet internals APIs enable you to manage Fleet internal operations, including checking permissions, monitoring Fleet Server health, managing settings,...
- Fleet Kubernetes 1 endpoint
- Fleet outputs 7 endpoints Fleet outputs APIs enable you to manage Fleet outputs, including creating, updating, and deleting output configurations, generating Logstash API keys,...
- Fleet package policies 9 endpoints Fleet package policies APIs enable you to manage Fleet package policies, including creating, updating, and deleting policies, performing bulk operations,...
- Fleet proxies 5 endpoints Fleet proxies APIs enable you to manage Fleet proxies, including creating, updating, and deleting proxy configurations for Fleet agent communication.
- Fleet Server hosts 5 endpoints Fleet Server hosts APIs enable you to manage Fleet Server hosts, including creating, updating, and deleting Fleet Server host configurations.
- Fleet service tokens 2 endpoints Enables you to create tokens for Fleet service authentication and authorization.
- Fleet uninstall tokens 2 endpoints Fleet uninstall tokens APIs enable you to manage Fleet uninstall tokens, including retrieving metadata and decrypted tokens for agent uninstallation.
- Logstash configuration management 4 endpoints Programmatically integrate with Logstash configuration management. > warn > Do not directly access the .logstash index. The structure of the .logstash...
- Machine learning 1 endpoint Enables you to synchronize machine learning saved objects.
- Maintenance windows 6 endpoints You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms...
- Roles 5 endpoints Manage the roles that grant Elasticsearch and Kibana privileges.
- Saved objects 15 endpoints Export sets of saved objects that you want to import into Kibana, resolve import errors, and rotate an encryption key for encrypted saved objects with...
- Security AI assistant 19 endpoints Manage and interact with Security Assistant resources.
- Security detections 29 endpoints Use the detections APIs to create and manage detection rules. Detection rules search events and external alerts sent to Elastic Security and generate...
- Security Elastic Endpoint exceptions 6 endpoints Endpoint Exceptions API allows you to manage detection rule endpoint exceptions to prevent a rule from generating an alert from incoming events even when...
- Security endpoint management 27 endpoints Interact with and manage endpoints running the Elastic Defend integration.
- Security entity analytics 18 endpoints Use the Security entity analytics APIs to manage entity analytics and risk scoring, including asset criticality, privileged user monitoring, and entity...
- Security exceptions 16 endpoints Exceptions are associated with detection and endpoint rules, and are used to prevent a rule from generating an alert from incoming events, even when the...
- Security lists 18 endpoints Lists can be used with detection rule exceptions to define values that prevent a rule from generating alerts.
- Security Osquery 14 endpoints Run live queries, manage packs and saved queries.
- Security timeline 17 endpoints You can create Timelines and Timeline templates via the API, as well as import new Timelines from an ndjson file.
- Service level objectives 13 endpoints SLO APIs enable you to define, manage and track service-level objectives
- Short URLs 4 endpoints Manage Kibana short URLs.
- Spaces 9 endpoints Manage your Kibana spaces.
- Synthetics 17 endpoints Synthetics APIs enable you to check the status of your services and applications.
- System 1 endpoint Get information about the system status, resource usage, features, and installed plugins.
- Task manager 1 endpoint Task manager APIs enable you to check the health of the Kibana task manager, which is used by features such as alerting, actions, and reporting to run...
- Unknown 2 endpoints
- Upgrade assistant 6 endpoints Check the upgrade status of your Elasticsearch cluster and reindex indices that were created in the previous major version. The assistant helps you prepare...
- Uptime 2 endpoints Uptime APIs enable you to view and update uptime monitoring settings.
- User session management 1 endpoint Enables you to invalidate user sessions for security and session management purposes.