Create Artifacts (Batch)
Creates multiple artifact metadata records in a single request. File content is not uploaded — use batch upload for that.Path Parameters
| Parameter | Type | Description |
|---|---|---|
dockId | string | The dock ID |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
items | array | Required | Array of artifact definitions (minimum 1) |
items[].filename | string | Required | The artifact filename |
items[].metadata | object | Optional | Arbitrary key-value metadata |
Example Request
Response
Error Handling
| Status | Condition |
|---|---|
400 | items array is empty or a required field is missing |
401 | Missing or invalid API key |
404 | Dock not found |