Import inventory assets from a file.
Requires esi.inventory.manage or project manager access. Accepts a bounded file upload, durably queues it in PostgreSQL before returning, rejects files with no supported assets, extracts hostnames, single IPv4/IPv6 addresses, and IPv4/IPv6 CIDRs in the API, then processes the import asynchronously as manual inventory additions. Interrupted workers safely reclaim queued or expired jobs; an import authorized when queued may finish after a later access change.
Authorizations
Infrawatch API key. Supply the complete key directly as the header value.
Headers
Optional file name for a non-multipart upload when file_name is omitted.
240Path Parameters
Query Parameters
Optional file name for a non-multipart upload. Takes precedence over X-File-Name.
240Body
Any JSON object or array whose serialized upload is at most 5 MB; values are scanned as opaque inventory source content.
Response
Inventory import accepted.