Get All Media Library Entry Keys

Returns every storage key of a media library entry: the asset, replaced and translated assets, and the image variants from image editing in documents (v/ prefix). Use it to purge external image caches (CDN) when an entry is revoked, invalidated or updated. Requires apiVersion 2026-03 or later.

GET/api/2026-03/mediaLibrary/{id}/keys
public-api:read
Latest version (since 2026-03)

Description

Fetch all asset keys (including variants) for a Media Library Entry. Useful for cache purging when image caches are handled by external systems.

Responses

⌘ K to search