Bulk get assets

POST /api/fleet/epm/bulk_assets
application/json; Elastic-Api-Version=2023-10-31

Body

  • assetIds array[object] Required

    list of items necessary to fetch assets

    Hide assetIds attributes Show assetIds attributes object

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    OK

    Hide response attribute Show response attribute object Deprecated
    • items array[object] Required
      Hide items attributes Show items attributes object
      • Additional properties are allowed.

        Hide attributes attributes Show attributes attributes object
      • id string
      • type string

        One of:

        Values are dashboard, visualization, search, index_pattern, map, lens, security_rule, csp_rule_template, ml_module, tag, osquery_pack_asset, or osquery_saved_query.

        Values are index, component_template, ingest_pipeline, index_template, ilm_policy, transform, data_stream_ilm_policy, or ml_model.

  • 400 application/json; Elastic-Api-Version=2023-10-31

    Generic Error

    Hide response attributes Show response attributes object
POST /api/fleet/epm/bulk_assets
curl \
 -X POST https://localhost:5601/api/fleet/epm/bulk_assets \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "assetIds": [
    {
      "id": "string",
      "type": "string"
    }
  ]
}
Response examples (200)
{
  "items": [
    {
      "appLink": "string",
      "attributes": {
        "description": "string",
        "title": "string"
      },
      "id": "string",
      "type": "dashboard",
      "updatedAt": "string"
    }
  ]
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}