List redirect/rewrite rules
render_list_routesList redirect or rewrite rules for a Render service, with optional filters by type, source, or destination path.
Instructions
List redirect/rewrite rules. List a particular service's redirect/rewrite rules that match the provided filters. If no filters are provided, all rules for the service are returned. Calls GET /services/{serviceId}/routes on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter for the type of route rule | |
| limit | No | The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). | |
| cursor | No | The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). | |
| source | No | Filter for the source path of the route | |
| serviceId | Yes | The ID of the service | |
| destination | No | Filter for the destination path of the route |