Actions47
- Account Actions
- Account Origin Actions
- Account URL Endpoint Actions
- Asset Actions
- Custom Metadata Field Actions
- File Actions
- File Version Actions
- Folder Actions
- Metadata Actions
- Purge Cache Actions
- Saved Extension Actions
File → Bulk Add Tags
AI-generatedSummary
Adds one or more tags to multiple ImageKit files simultaneously.
Inputs
- fileIds (required) — Comma-separated list of file IDs to add tags to.
- tags (required) — Comma-separated list of tags to add.
Output shape
A single record containing the API response details for the bulk tag addition operation.
The API response typically includes the status of the operation and any errors for individual files in the batch.
Examples
Example 1: Add a 'sales' tag to 50 previously uploaded files identified by their ImageKit file IDs.
File IDs: 'file123,file456,file789', Tags: 'sales'
Example 2: Apply multiple metadata tags, 'featured', '2023', and 'homepage', to a list of files.
File IDs: 'id1,id2,id3,id4,id5', Tags: 'featured,2023,homepage'