ai-gateway
List rules
Changed onList the authenticated team's routing rules, oldest first. Without limit or cursor, returns every rule. With either, returns one page and a nextCursor for the next page (null on the last page). Paging reads and sorts the team's rules server-side, which is fine at current rule counts.
get/ai-gateway/rules
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/ai-gateway/rules
- Auth: HTTP bearer
Query parameters
includeDisabled'true' | 'false'
limitinteger
Maximum number of rules to return (capped at 200). Enables pagination.
cursorstring
Opaque cursor returned by a prior call as nextCursor.
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.
Response
Changes
- info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the required property
to the response with the status
- info
- info
endpoint added
- info