Transform rules now available in vercel.json
You can now define transform rules in vercel.json to modify HTTP request and response headers or query parameters without changing application code. Transform rules support conditional logic, fine-grained matching options, and are available unlimited for all customers.
You can now define transform rules in to modify HTTP request and response headers or query parameters, without changing application code.vercel.json
Unlimited transform rules are available for all customers, and let you:
This expands the flexibility of Vercel's CDN, which already supports routing behavior like redirects and rewrites to external origins.
For example:
Refer to the for detailed examples. transform rules documentation
Set, append, or delete request headers, response headers, and query parameters
Use conditional logic to apply changes based on request metadata
Match by equality, inequality, prefixes, suffixes, inclusion in string arrays, or numeric comparisons for fine-grained control
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.