Skip to Content

APIs & SDKs

Get project routing rules

Get project routing rules

AuthorizationbearerToken

Default authentication mechanism

GEThttps://api.vercel.com/v1/projects/{projectId}/routes

Get the routing rules for a project. Supports searching by name/ID/pattern, filtering by route type, and diffing staged changes against production.

projectId

versionId

string
Required
string
Optional

filter

The Team identifier to perform the request on behalf of.

string
Optional
Optional
string

Query parameters

The Team slug to perform the request on behalf of.

Optional
teamId
Optional
Optional

Response

200Success


404Error

410Error

401The request is not authorized.

403You do not have permission to access this resource.

Variant 1Variant 2Variant 3Variant 4

400One of the provided values in the request query is invalid.

This page is not in the current cross-link map.