Search + K

Command Palette

Search for a command to run...

Sign In

List all AI Gateway Dynamic Routes.

GET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes
Copy endpoint
https://api.cloudflare.com/client/v4

List all AI Gateway Dynamic Routes.

Parameters

path Path Parameters

Name Type
account_id required
string
gateway_id required
string

Responses

200 application/json

Success

{ data: {
order_by: string;
order_by_direction: string;
page: number;
per_page: number;
routes: {
account_tag: string;
created_at: string;
deployment: { ... };
elements: ({ ... } | { ... } | { ... } | { ... } | { ... } | { ... })[];
gateway_id: string;
id: string;
modified_at: string;
name: string;
version: { ... };
}
[]
;
}
;success: boolean; }

Client Errors

400 application/json

Bad Request

{ errors: { message: string; }[];result: {};success: boolean; }