AI Gateway
ai_gateway
Methods
Lists all AI Gateway evaluator types configured for the account.
Retrieves details for a specific AI Gateway dataset.
Creates a new AI Gateway.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
AI Gateway Write
Updates an existing AI Gateway dataset.
Deletes an AI Gateway dataset.
Datasets
ai_gateway.datasets
Methods
Lists all AI Gateway evaluator types configured for the account.
Retrieves details for a specific AI Gateway dataset.
Creates a new AI Gateway.
Updates an existing AI Gateway dataset.
Deletes an AI Gateway dataset.
Dynamic Routing
ai_gateway.dynamic_routing
Methods
List all AI Gateway Dynamic Routes.
Get an AI Gateway Dynamic Route.
Create a new AI Gateway Dynamic Route.
Update an AI Gateway Dynamic Route.
Delete an AI Gateway Dynamic Route.
List all AI Gateway Dynamic Route Deployments.
Create a new AI Gateway Dynamic Route Deployment.
List all AI Gateway Dynamic Route Versions.
Create a new AI Gateway Dynamic Route Version.
Get an AI Gateway Dynamic Route Version.
Evaluation Types
ai_gateway.evaluation_types
Methods
List Evaluators
Evaluations
ai_gateway.evaluations
Methods
Lists all AI Gateway evaluator types configured for the account.
Retrieves details for a specific AI Gateway dataset.
Creates a new AI Gateway.
Deletes an AI Gateway dataset.
Logs
ai_gateway.logs
Methods
List Gateway Logs
Retrieves detailed information for a specific AI Gateway log entry.
Updates metadata for an AI Gateway log entry.
Delete Gateway Logs
Retrieves the original request payload for an AI Gateway log entry.
Retrieves the response payload for an AI Gateway log entry.
Provider Configs
ai_gateway.provider_configs
Methods
Lists all AI Gateway evaluator types configured for the account.
Creates a new AI Gateway.
URLs
ai_gateway.urls
Methods
Retrieves the endpoint URL for an AI Gateway.