v171

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Routing Rules

List routing rules

Returns a paginated list of routing rules for the current project, ordered by priority ascending.

get/v2/routing-rules

Query parameters

limitinteger
starting_afterstring

A cursor for use in pagination.

A cursor for use in pagination.

ending_beforestring

A cursor for use in pagination.

A cursor for use in pagination.

project_idstring

Optional filter by project ID.

Optional filter by project ID.

searchstring

Optional search term matched against name and description.

Optional search term matched against name and description.

enabledboolean nullable

Filter by enabled status.

Filter by enabled status.

modelstring[] nullable

Filter by referenced model refs (comma-separated).

Filter by referenced model refs (comma-separated).

Response

Routing rules retrieved successfully

has_moreboolean required
objectstring required