Kibana API (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
- 9.6
This documentation is derived from the 9.6 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
71 groups
- Agent Builder 44 endpoints Agent Builder is a set of AI-powered capabilities for developing and interacting with agents that work with your Elasticsearch data.
- Alerting 23 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...
- Alerting V2 50 endpoints Alerting V2 is an ES|QL-first alerting API for managing rules, alert actions, and action policies. Use these endpoints to create and manage detection...
- 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. A source map allows minified files to be mapped back to original source code--allowing you to maintain the speed advantage...
- Cases 40 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 11 endpoints Connectors provide a central place to store connection information for services and integrations with Elastic or third party systems. Alerting rules can...
- Context Engine 7 endpoints Use the Context Engine APIs to manage AI Indices, query them with ES|QL, and describe them for an agent. An AI Index attaches a name, sources, traces,...
- Dashboards 5 endpoints A dashboard is a collection of panels arranged on a grid. Each panel can contain a visualization, a Discover session, an image, markdown text, or an interactive...
- Data streams 3 endpoints 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.
- Data views v2 5 endpoints Data view APIs enable you to manage data views, formerly known as Kibana index patterns. Use these endpoints to list, retrieve, create, replace, and delete...
- Discover sessions 5 endpoints A Discover session is a saved exploration of your data in Discover. Each session contains one or more tabs, and each tab stores its own data source, query,...
- Elastic Agent actions 18 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 14 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 1 endpoint Enables you to retrieve status information about Elastic Agents, including health summaries and operational status.
- Elastic Agents 18 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) 32 endpoints Elastic Package Manager (EPM) APIs enable you to manage packages and integrations, including installing, updating, and uninstalling packages, managing...
- Fleet agentless policies 7 endpoints
- Fleet cloud connectors 6 endpoints Fleet cloud connectors APIs enable you to manage Fleet cloud connectors, including creating, updating, and deleting cloud connector configurations for...
- Fleet cloud onboarding deployments 5 endpoints
- Fleet enrollment API keys 5 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 7 endpoints Fleet internals APIs enable you to manage Fleet internal operations, including checking permissions, monitoring Fleet Server health, managing settings,...
- Fleet managed integrations 7 endpoints
- Fleet Message Signing Service 1 endpoint Enables you to rotate message signing key pairs for secure Fleet communication.
- 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 remote synced integrations 2 endpoints Use the Fleet remote synced integrations API to check the status of the automatic integrations synchronization on a remote cluster: Use the /api/fleet/remotesyncedintegrations/{outputId}/remotestatus...
- 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 1 endpoint Enables you to create tokens for Fleet service authentication and authorization.
- Fleet uninstall tokens 3 endpoints Fleet uninstall tokens APIs enable you to manage Fleet uninstall tokens, including retrieving metadata and decrypted tokens for agent uninstallation.
- Links 5 endpoints
- 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 3 endpoints Enables you to synchronize machine learning saved objects.
- Maintenance windows 7 endpoints You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms...
- Markdowns 5 endpoints
- Observability AI Assistant 1 endpoint Interact with the Observability AI Assistant resources.
- 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 21 endpoints Manage and interact with Security Assistant resources.
- Security Attack discovery 16 endpoints Use the Attack discovery APIs to generate and manage Attack discoveries. Attack Discovery leverages large language models (LLMs) to analyze alerts in...
- 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 29 endpoints Interact with and manage endpoints running the Elastic Defend integration.
- Security entity analytics 29 endpoints Use the Security entity analytics APIs to manage entity analytics and risk scoring, including asset criticality, privileged user monitoring, and entity...
- Security entity store 20 endpoints
- 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 21 endpoints Run live queries, manage packs and saved queries.
- Security solution initialization 1 endpoint Use the initialization API to set up the assets Elastic Security needs to operate in a Kibana space.
- 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 15 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.
- Streams 18 endpoints Streams provide a unified data management layer for ingestion, routing, and processing. There are three stream types: * Wired streams are managed by Kibana...
- Synthetics 20 endpoints Synthetics APIs enable you to check the status of your services and applications.
- System 2 endpoints Get information about the system status, resource usage, features, and installed plugins.
- Tags 5 endpoints
- 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...
- Universal Profiling 2 endpoints Universal Profiling provides whole-system, always-on, continuous profiling with zero instrumentation. Use these APIs to check whether the Elasticsearch...
- Unknown 2 endpoints
- Upgrade assistant 1 endpoint The Kibana Upgrade Assistant API helps you prepare for the next major Elasticsearch release. > warn > This is a Kibana REST API (not an Elasticsearch...
- 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.
- Visualizations 5 endpoints Create, retrieve, update, and delete Kibana visualizations. Visualizations created through this API are saved to your visualization library.
- Workflows 32 endpoints Workflows enable you to automate multi-step processes directly in Kibana. Define sequences of steps in YAML to transform data insights into automated...