Product Updates

DatoCMS changelog for new features and general improvements
Content Delivery API Content Management API UI Improvement

Filter uploads by path

November 17th, 2025

We've added a new path filter for uploads in the GraphQL API (CDA), allowing you to filter uploads based on their storage path.

The filter supports exact matching (eq), negation (neq), inclusion (in), and exclusion (notIn) operations. All path comparisons are case-insensitive.

{
# Find a specific asset by path
upload(filter: { path: { eq: "/123/1763384420-hero-image.jpg" } }) {
id
url
}
# Find multiple assets by paths
allUploads(filter: { path: { in: ["/123/1763382120-logo.png", "/123/1763381111-banner.jpg"] } }) {
id
url
}
# Exclude specific paths
allUploads(filter: { path: { notIn: ["/123/1763383331-preview.jpg"] } }) {
id
url
}
}

You can also use this new filter when fetching uploads via the CMA or in your project Media Area

Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480