project-routes
Generate a routing rule from natural language
Changed onGenerate a routing rule configuration from a natural language description. Returns a suggested route configuration that can be reviewed and saved.
post/v1/projects/{projectId}/routes/generate
Request
- Base URLhttps://api.vercel.com
- URLhttps://api.vercel.com/v1/projects/{projectId}/routes/generate
- AuthHTTP bearer
Path parameters
projectIdstring required
Query parameters
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Request body
Response
Changes
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info
- info
added the non-success response with the status
- info