Bulk get assets

POST /api/fleet/epm/bulk_assets

Spaces method and path for this operation:

post /s/{space_id}/api/fleet/epm/bulk_assets

Refer to Spaces for more information.

application/json

Body

  • assetIds array[object] Required

    list of items necessary to fetch assets

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

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object Deprecated
    • items array[object] Required
      Hide items attributes Show items attributes object
      • attributes object
        Hide attributes attributes Show attributes attributes object
        • description string
        • title string
      • 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.

      • updatedAt string
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
POST /api/fleet/epm/bulk_assets
curl \
 --request POST 'http://localhost:5601/api/fleet/epm/bulk_assets' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"assetIds":[{"id":"string","type":"string"}]}'