Skip to main content
POST
Bulk create inventory assets.

Authorizations

X-API-Key
string
header
required

Infrawatch API key. Supply the complete key directly as the header value.

Path Parameters

project_uuid
string<uuid>
required

Body

application/json
assets
object[]
required
Required array length: 1 - 1000 elements
on_conflict
enum<string>
default:skip

skip records conflicts in the result and continues. fail writes every row in one transaction and rejects the whole request without committing any rows when validation or a conflict fails.

Available options:
skip,
fail

Response

Inventory assets partially processed, or no assets created because all conflicts were skipped.

bulk_create
object
required