POST <kibana host>:<port>/s/<space_id>/api/saved_objects/_bulk_get
Path parameters
space_id
(Optional, string) An identifier for the space. If space_id
is not provided in the URL, the default space is used.
type
id
(Required, string) ID of the retrieved object. The ID includes the Kibana unique identifier or a custom identifier.
(Optional, array) The fields to return in the attributes
key of the object response.
Response body
saved_objects
Saved objects that are unable to persist are replaced with an error object.
200
Indicates a successful call.
Example
Retrieve an index pattern with the my-pattern
ID, and a dashboard with the my-dashboard
ID:
The API returns the following:
{
"saved_objects": [
"id": "my-pattern",
"type": "index-pattern",
"version": 1,
"title": "my-pattern-*"
}
},
{
"id": "my-dashboard",
"error": {
"statusCode": 404,
"message": "Not found"
}
}
}