Skip to content

Add metadata filtering to the Images binding hosted.list()#6851

Draft
Monark-Arkmon wants to merge 2 commits into
cloudflare:mainfrom
Monark-Arkmon:monark/images-binding-metadata-filter
Draft

Add metadata filtering to the Images binding hosted.list()#6851
Monark-Arkmon wants to merge 2 commits into
cloudflare:mainfrom
Monark-Arkmon:monark/images-binding-metadata-filter

Conversation

@Monark-Arkmon

@Monark-Arkmon Monark-Arkmon commented Jul 1, 2026

Copy link
Copy Markdown

Adds an optional metadataFilters option to env.IMAGES.hosted.list() so
Workers can filter hosted-image lists by custom metadata, matching the Images
REST API. Operators: eq (also the implicit form), in, gt, gte, lt,
lte; dot-notation for nested fields; multiple fields combined with AND. Shape
follows the Vectorize metadata-filtering API.

hosted.list() forwards options to the hosted-images service over RPC
unchanged, so this is the type definition plus test coverage; the upstream
service does the filtering. images-api-test exercises each operator through
the mocked upstream.

Draft: companion to workers-sdk #14510; API shape still being finalised.

@Monark-Arkmon Monark-Arkmon requested review from a team as code owners July 1, 2026 15:31
@Monark-Arkmon Monark-Arkmon requested a review from james-elicx July 1, 2026 15:31
@Monark-Arkmon Monark-Arkmon marked this pull request as draft July 1, 2026 15:31
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Monark-Arkmon

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@Monark-Arkmon

Copy link
Copy Markdown
Author

recheck

github-actions Bot added a commit that referenced this pull request Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant