Container URLs provide a stable, shareable link to Media Library assets.
Container URLs provide a stable, shareable link to Media Library assets. They automatically reflect changes to an asset’s version or visibility (public or private), so you never need to update links manually. Container URLs are optimised for delivery by Sanity’s CDN and are available through both the Media Library UI and GROQ.
*[_type=="event"][0] {
poster {
"containerURL": documents::get(media).url
}
}Because Container URLs are served by Sanity’s CDN, it can take some time for visibility or version changes to propagate. Updates typically appear within minutes.

*[_type=="event"][0] {
poster {
"containerURL": documents::get(media).url
}
}Was this page helpful?