Get Object

edit

This functionality is experimental and may be changed or removed completely in a future release.

The get saved object API enables you to retrieve a single Kibana saved object by id.

Request

edit

GET /api/saved_objects/<type>/<id>

Path Parameters

edit
type (required)
(string) Valid options, include: visualization, dashboard, search, index-pattern, config, and timelion-sheet
id (required)
(string) ID of object to retrieve

Examples

edit

The following example retrieves the index pattern object with an id of my-pattern.

GET api/saved_objects/index-pattern/my-pattern

A successful call returns a response code of 200 and a response body containing a JSON structure similar to the following example:

{
  "id": "my-pattern",
  "type": "index-pattern",
  "version": 1,
  "attributes": {
    "title": "my-pattern-*"
  }
}