{"version":"2.1.275","anchor":"file-paths-disabled-for-scriptedsdk-callers","canonical_anchor":"artifacts-multi-file-upload-and-asset-copy-actions-document","heading":"upload_asset can now upload several files to an artifact in one call","tier":"use","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/file-paths-disabled-for-scriptedsdk-callers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### upload_asset can now upload several files to an artifact in one call\n\nThe artifact tool's `upload_asset` now accepts a list of files (`file_paths`) instead of just one at a time\n\n**What**\n\n- `upload_asset` now accepts a `file_paths` array to upload several local files into one artifact in a single call, alongside the existing single-file `file_path`. A human-readable summary, like \"3 files \u00b7 \"a.png\", \"b.png\", 1 more\", is shown for what was uploaded.\n\n- The artifacts tool also gained a `copy_from`\/`asset_ids` action to copy assets from another artifact server-side.\n\n- Batch uploads via `file_paths` are disabled for non-interactive\/scripted (SDK) callers, which must still upload one file per call.\n\n- If the asset store starts rate-limiting mid-batch, the remaining files in a `file_paths` call are held back with a specific retry message instead of the whole call failing.\n\n- A new error, `asset_upload_pin_mismatch`, is returned if an approval that covered a batch upload is retried as a single-file call, or vice versa.\n\n**Why**\n\nThis makes it much faster to attach multiple images or files to one artifact, instead of needing a separate tool call and approval for each file.\n\n- Area: Artifacts\n- Names: `file_paths`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 1\/5"}