Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kibana saved objects API

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 the saved objects APIs.To manage a specific type of saved object, use the corresponding APIs.For example, use:* [Data views](../group/endpoint-data-views)* [Spaces](../group/endpoint-spaces)* [Short URLs](../group/endpoint-short-url)Warning: Do not write documents directly to the `.kibana` index. When you write directly to the `.kibana` index, the data becomes corrupted and permanently breaks future Kibana versions.

Kibana saved objects API is one of 60 APIs that Kibana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include saved objects. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 16 operations across 13 paths, and defines 1 schema. It is described by OpenAPI 3.0.3.

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

16 operations 13 paths 1 schemas 1 DELETE3 GET10 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
Base URL
https://localhost:5601/api
Authentication
API Key, HTTP Basic
Contact
Kibana Team
Resource Areas
1

Authentication & Security 2

Kibana saved objects 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 16

Across 13 paths, the API surfaces 16 operations — 1 DELETE, 3 GET, 10 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

saved objects 16

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 the saved objects APIs. To m…

POST
/api/encrypted_saved_objects/_rotate_key
Rotate a key for encrypted saved objects
rotateEncryptionKey 2 params → 200400429
POST
/api/saved_objects/_bulk_createdeprecated
Create saved objects
post-saved-objects-bulk-create 2 params body → 200400
POST
/api/saved_objects/_bulk_deletedeprecated
Delete saved objects
post-saved-objects-bulk-delete 2 params body → 200400
POST
/api/saved_objects/_bulk_getdeprecated
Get saved objects
post-saved-objects-bulk-get 1 param body → 200400
POST
/api/saved_objects/_bulk_resolvedeprecated
Resolve saved objects
post-saved-objects-bulk-resolve 1 param body → 200400
PUT
/api/saved_objects/_bulk_updatedeprecated
Update saved objects
put-saved-objects-bulk-update 1 param body → 200400
POST
/api/saved_objects/_export
Export saved objects
post-saved-objects-export 1 param body → 200400
GET
/api/saved_objects/_finddeprecated
Search for saved objects
get-saved-objects-find 15 params → 200400
POST
/api/saved_objects/_import
Import saved objects
post-saved-objects-import 4 params body → 200400
POST
/api/saved_objects/_resolve_import_errors
Resolve import errors
post-saved-objects-resolve-import-errors 3 params body → 200400
POST
/api/saved_objects/{type}deprecated
Create a saved object
post-saved-objects-type 3 params body → 200409
DELETE
/api/saved_objects/{type}/{id}deprecated
Delete a saved object
delete-saved-objects-type-id 4 params → 200404
GET
/api/saved_objects/{type}/{id}deprecated
Get a saved object
get-saved-objects-type-id 2 params → 200400
POST
/api/saved_objects/{type}/{id}deprecated
Create a saved object
post-saved-objects-type-id 4 params body → 200409
PUT
/api/saved_objects/{type}/{id}deprecated
Update a saved object
put-saved-objects-type-id 3 params body → 200404409
GET
/api/saved_objects/resolve/{type}/{id}deprecated
Resolve a saved object
get-saved-objects-resolve-type-id 2 params → 200400

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Saved_objects_400_response (3 properties). Each schema is shown below with its type and property counts.

Saved_objects_400_response
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kibana-saved-objects-api-openapi.yml Raw ↑

Other APIs Kibana publishes across the network.

Kibana Actions API
Kibana agent builder API
Kibana alerting API
Kibana APM agent configuration API
Kibana APM agent keys API
Kibana APM annotations API
Kibana APM server schema API
Kibana APM sourcemaps API
Kibana cases API
Kibana connectors API
Kibana Data streams API
Kibana data views API