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:

    1. {
    2. "saved_objects": [
    3. "id": "my-pattern",
    4. "type": "index-pattern",
    5. "version": 1,
    6. "title": "my-pattern-*"
    7. }
    8. },
    9. {
    10. "id": "my-dashboard",
    11. "error": {
    12. "statusCode": 404,
    13. "message": "Not found"
    14. }
    15. }
    16. }