Trying to filter on the /upload/files endpoint or from another model via the relation?
The former should allow filtering on any of the properties listed in the file.settings.json here (minus any JSON field types):
But the latter via a relations, no because the relation is a polymorphic one (same reason you can’t filter on components)