# ImageKit

ImageKit.io is a comprehensive media management solution offering real-time image and video optimization, transformation, and delivery through a global content delivery network (CDN).

- **Category:** images & design
- **Auth:** API_KEY
- **Tools:** 26
- **Triggers:** 0
- **Slug:** `IMAGEKIT_IO`
- **Version:** 20260211_00

## Tools

### Bulk Job Status

**Slug:** `IMAGEKIT_IO_BULK_JOB_STATUS`

Retrieve the status of a bulk folder operation. Use this tool to monitor the progress of asynchronous Copy Folder or Move Folder operations by providing the jobId returned from those operations.

### Bulk Move Files

**Slug:** `IMAGEKIT_IO_BULK_MOVE_FILES`

Tool to move multiple files in bulk. Use when you need to relocate up to 100 ImageKit files to a specified folder in one API call.

### Bulk Remove Tags

**Slug:** `IMAGEKIT_IO_BULK_REMOVE_TAGS`

Tool to remove tags from multiple files in bulk. Use when you need to strip specified tags from up to 50 existing files in one API call.

### Copy Folder

**Slug:** `IMAGEKIT_IO_COPY_FOLDER`

Initiate an asynchronous bulk copy of a folder and all its contents to a new location. Use this tool when you need to: - Duplicate an entire folder structure including all nested files and subfolders - Create a backup of a folder at a different location - Copy a folder with or without file version history This is an asynchronous operation that returns immediately with a job ID. The actual copy happens in the background. Use IMAGEKIT_IO_BULK_JOB_STATUS with the returned jobId to check when the operation completes. Note: If a folder with the same name exists at the destination, permissions from the existing destination folder will be preserved.

### Create Custom Metadata Field

**Slug:** `IMAGEKIT_IO_CREATE_CUSTOM_METADATA_FIELD`

Create a new custom metadata field in ImageKit DAM. Use this tool to define custom metadata fields that can be attached to assets (images, videos, etc.) in your ImageKit media library. Once created, you can assign values to these fields on individual assets for better organization and searchability. Supported field types: - Text/Textarea: For string values with optional length constraints - Number: For numeric values with optional min/max constraints - Date: For ISO8601 date strings with optional date range constraints - Boolean: For true/false values - SingleSelect/MultiSelect: For predefined options (requires selectOptions) Note: Field names must be unique across all fields (including deleted ones). Field types cannot be changed after creation.

### Create Folder

**Slug:** `IMAGEKIT_IO_CREATE_FOLDER`

Creates a new folder in ImageKit.io media library. Use this to organize assets into structured folder hierarchies. The folder will be created at the specified parent path. If the parent folder doesn't exist, the API will return an error.

### Delete Custom Metadata Field

**Slug:** `IMAGEKIT_IO_DELETE_CUSTOM_METADATA_FIELD`

Permanently deletes a custom metadata field from ImageKit. This action is irreversible. Note: Even after deletion, you cannot create a new field with the same name. Use 'List Custom Metadata Fields' first to get the field ID if needed. Rate limit: 5 requests/second for custom metadata field operations.

### Delete File

**Slug:** `IMAGEKIT_IO_DELETE_FILE`

Permanently deletes a file from ImageKit by its unique file ID. WARNING: This action is irreversible. The file and all its versions will be permanently removed. Note: Cached versions of the file may still be served until the cache expires. Use the purge cache endpoint if immediate removal from CDN is required. Use this tool when you need to: - Remove unwanted or obsolete files from the media library - Clean up test uploads - Delete files that should no longer be accessible The file ID can be obtained from the 'List and Search Assets' or 'Upload File' actions.

### Delete File Version

**Slug:** `IMAGEKIT_IO_DELETE_FILE_VERSION`

Permanently deletes a specific non-current file version from ImageKit.io. Use this when you need to remove an older version of a file while keeping the current version intact. Note: This action is irreversible. To delete all versions of a file, use the Delete File action instead.

### Delete Folder

**Slug:** `IMAGEKIT_IO_DELETE_FOLDER`

Permanently delete a folder and all its contents from ImageKit Media Library. WARNING: This is a destructive operation that cannot be undone. All files and subfolders within the specified folder will be permanently removed. Use this when you need to: - Remove an entire folder structure - Clean up unused folders - Delete test/temporary folders The operation is idempotent - deleting a non-existent folder will not raise an error.

### Delete Multiple Files

**Slug:** `IMAGEKIT_IO_DELETE_MULTIPLE_FILES`

Permanently delete multiple files from ImageKit media library in a single batch operation. Use this tool when you need to: - Remove up to 100 files at once by their unique file IDs - Clean up unused assets from your media library - Bulk delete files after migration or reorganization Important notes: - Deletion is permanent and includes all file versions - Cached CDN responses are NOT automatically purged (use Purge Cache action if needed) - File IDs can be obtained from 'List and Search Assets' or upload responses Returns the list of successfully deleted file IDs. On partial success (some files deleted, some failed), also returns an errors array with per-file failure details.

### Get Upload Authentication Parameters

**Slug:** `IMAGEKIT_IO_GET_AUTHENTICATION_PARAMETERS`

Tool to generate authentication parameters for client-side file uploads. Use when preparing client-side uploads.

### Get File Details

**Slug:** `IMAGEKIT_IO_GET_FILE_DETAILS`

Tool to retrieve details of a specific file. Use after uploading or listing assets to get full metadata.

### Get File Metadata

**Slug:** `IMAGEKIT_IO_GET_FILE_METADATA`

Tool to retrieve metadata of an uploaded file. Use after confirming a successful upload to get EXIF, pHash, dimensions, and other image metadata.

### Get File Version Details

**Slug:** `IMAGEKIT_IO_GET_FILE_VERSION_DETAILS`

Tool to retrieve details of a specific file version. Use after listing or uploading assets when you need to inspect version metadata.

### Get Usage

**Slug:** `IMAGEKIT_IO_GET_USAGE`

Retrieve ImageKit account usage metrics for a specified date range. Returns bandwidth consumption and media library storage usage. The response includes data from startDate up to (but not including) endDate. Maximum allowed date range is 90 days.

### List and Search Media Assets

**Slug:** `IMAGEKIT_IO_LIST_AND_SEARCH_ASSETS`

List and search media assets (files, folders, file-versions) in your ImageKit media library. Use this tool to: - Browse all assets with optional pagination (limit/skip) - Filter by type (file, folder, file-version, or all) - Filter by name, tags, or file type (image/non-image) - Search with advanced Lucene-style queries (e.g., 'size > 1000000 AND tags IN ["banner"]') - Sort results by name, date, size, or dimensions Returns a list of asset objects with metadata including URLs, dimensions, tags, and timestamps.

### List Custom Metadata Fields

**Slug:** `IMAGEKIT_IO_LIST_CUSTOM_METADATA_FIELDS`

List all custom metadata fields defined in the ImageKit Media Library. Use this tool to: - Retrieve all metadata field definitions (name, label, type, constraints) - Get field IDs required for updating or deleting fields - View field configurations (required, default values, select options) - Include soft-deleted fields when needed for auditing

### List File Versions

**Slug:** `IMAGEKIT_IO_LIST_FILE_VERSIONS`

Retrieves all versions of a specific file in ImageKit. Returns a list of file version objects including metadata like version ID, creation date, and publication status. Use this to view file history, compare versions, or find a specific version to restore. Requires a valid fileId which can be obtained from the List Assets API or Upload API response.

### Move Folder

**Slug:** `IMAGEKIT_IO_MOVE_FOLDER`

Move a folder from one location to another in your ImageKit media library. This operation is asynchronous - it returns a jobId immediately, and the actual move happens in the background. The folder will be moved to become a subfolder of the destination path. Use IMAGEKIT_IO_BULK_JOB_STATUS with the returned jobId to check if the move has completed. Example: Moving '/photos/summer' to '/archive' will result in '/archive/summer'.

### Purge ImageKit Cache

**Slug:** `IMAGEKIT_IO_PURGE_CACHE`

Purge CDN and ImageKit internal caches for a specific URL or URL pattern. Use this action when you need to: - Invalidate cached content after updating an image - Force CDN to fetch the latest version of a file - Clear cache for a directory using wildcard (*) Note: Cache purging is asynchronous. Use the returned requestId with IMAGEKIT_IO_PURGE_STATUS to check completion. Monthly purge limits apply based on your pricing plan (typically 1000 URLs/month).

### Check purge cache status

**Slug:** `IMAGEKIT_IO_PURGE_STATUS`

Tool to check the status of a cache purge request. Use after initiating a purge to retrieve its current state. Example: "What's the status of purge request id abc123?"

### Rename File

**Slug:** `IMAGEKIT_IO_RENAME_FILE`

Renames an existing file in the ImageKit media library. Use this action when you need to change a file's name. Important: Old URLs will stop working after rename (unless CDN cache is active). This operation renames all file versions. Set purgeCache=True to clear CDN cached content for the old URL. Returns 404 if file not found, 409 if a file with the new name already exists in the same folder.

### Restore File Version

**Slug:** `IMAGEKIT_IO_RESTORE_FILE_VERSION`

Restores a non-current file version to become the current version in ImageKit. Use this to revert a file to a previous state. First use the List File Versions API to find the versionId of the version you want to restore.

### Update Custom Metadata Field

**Slug:** `IMAGEKIT_IO_UPDATE_CUSTOM_METADATA_FIELD`

Updates an existing custom metadata field's label or schema constraints in ImageKit DAM. Use this to: - Change the display label of a metadata field - Update validation constraints (min/max values, min/max length) - Set or modify the default value - Change whether the field is required Note: The field type and name cannot be changed after creation. At least one of 'label' or 'schema' must be provided in the request.

### Update File Details

**Slug:** `IMAGEKIT_IO_UPDATE_FILE_DETAILS`

Update file details in ImageKit media library. Use this tool to modify tags, custom coordinates, custom metadata, AI tags, apply extensions (like background removal), or change publication status. Note: When updating publication status via 'publish', no other parameters can be included in the request.
