Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Workspace & Portfolios/batch_register_instance

batch_register_instance

Batch-register product instances against canonical entities in one atomic call (the migration counterpart to `register_instance`). Validates every instance up front (canonical exists, same-type) then writes all `instance_of` edges and flushes once. Per-instance idempotent; `alias` honoured per instance.

Workspace & Portfoliosvalidate-all-then-write. A single invalid instance rejects the whole batch.

Arguments

instancesarrayrequired

Up to 50 instances.

Returns

Shape
{ results: [...], registered, already_existed, count, portfolio_file }

See Also