List all AI Gateway Dynamic Routes.
GET
/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes 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; }
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; }