Skip to main content

registry__create_artifacts

Create a batch of artifacts that all share one kind.
  • Inputs: required kind and items. Each item requires metadata with name and workspace_id; optional body and body_base64 carry text or bytes. A call accepts at most 100 items.
  • Returns: {items} in request order. Each position contains the created artifact or that item’s status and error.
  • Effect: writes state and runs each kind’s create hooks. One rejected item does not roll back successful items.
Use registry__create_artifact for one artifact or when you want to inspect a result before continuing.