IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get Objectedit
This functionality is beta. It’s on track to become a stable, permanent feature of Kibana. Caution should be exercised because it is possible a breaking change to these APIs will occur in a minor version, but we’ll avoid this wherever possible.
The get saved object API enables you to retrieve a single Kibana saved object by id.
Note: You cannot access this endpoint via the Console in Kibana.
Requestedit
GET /api/saved_objects/<type>/<id>
Path Parametersedit
-
type
(required) -
(string) Valid options, include:
visualization
,dashboard
,search
,index-pattern
,config
, andtimelion-sheet
-
id
(required) - (string) ID of object to retrieve
Examplesedit
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-*" } }