AI Gateway
List Gateways
GET/accounts/{account_id}/ai-gateway/gateways
Fetch a Gateway
GET/accounts/{account_id}/ai-gateway/gateways/{id}
Create a new Gateway
POST/accounts/{account_id}/ai-gateway/gateways
Update a Gateway
PUT/accounts/{account_id}/ai-gateway/gateways/{id}
Delete a Gateway
DELETE/accounts/{account_id}/ai-gateway/gateways/{id}
ModelsExpand Collapse
AIGatewayListResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
AIGatewayListResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
dlp: optional { action, enabled, profiles } or { enabled, policies }
dlp: optional { action, enabled, profiles } or { enabled, policies }
retry_delay: optional number
Delay between retry attempts in milliseconds (0-5000)
maximum5000
minimum0
retry_max_attempts: optional number
Maximum number of retry attempts for failed requests (1-5)
maximum5
minimum1
AIGatewayGetResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
AIGatewayGetResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
dlp: optional { action, enabled, profiles } or { enabled, policies }
dlp: optional { action, enabled, profiles } or { enabled, policies }
retry_delay: optional number
Delay between retry attempts in milliseconds (0-5000)
maximum5000
minimum0
retry_max_attempts: optional number
Maximum number of retry attempts for failed requests (1-5)
maximum5
minimum1
AIGatewayCreateResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
AIGatewayCreateResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
dlp: optional { action, enabled, profiles } or { enabled, policies }
dlp: optional { action, enabled, profiles } or { enabled, policies }
retry_delay: optional number
Delay between retry attempts in milliseconds (0-5000)
maximum5000
minimum0
retry_max_attempts: optional number
Maximum number of retry attempts for failed requests (1-5)
maximum5
minimum1
AIGatewayUpdateResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
AIGatewayUpdateResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
dlp: optional { action, enabled, profiles } or { enabled, policies }
dlp: optional { action, enabled, profiles } or { enabled, policies }
retry_delay: optional number
Delay between retry attempts in milliseconds (0-5000)
maximum5000
minimum0
retry_max_attempts: optional number
Maximum number of retry attempts for failed requests (1-5)
maximum5
minimum1
AIGatewayDeleteResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
AIGatewayDeleteResponse { id, cache_invalidate_on_update, cache_ttl, 21 more }
dlp: optional { action, enabled, profiles } or { enabled, policies }
dlp: optional { action, enabled, profiles } or { enabled, policies }
retry_delay: optional number
Delay between retry attempts in milliseconds (0-5000)
maximum5000
minimum0
retry_max_attempts: optional number
Maximum number of retry attempts for failed requests (1-5)
maximum5
minimum1
AI GatewayEvaluation Types
List Evaluators
GET/accounts/{account_id}/ai-gateway/evaluation-types
AI GatewayLogs
List Gateway Logs
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs
Get Gateway Log Detail
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}
Patch Gateway Log
PATCH/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}
Delete Gateway Logs
DELETE/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs
Get Gateway Log Request
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/request
Get Gateway Log Response
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/response
AI GatewayDatasets
List Datasets
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets
Fetch a Dataset
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}
Create a new Dataset
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets
Update a Dataset
PUT/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}
Delete a Dataset
DELETE/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}
ModelsExpand Collapse
AI GatewayEvaluations
List Evaluations
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations
Fetch a Evaluation
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations/{id}
Create a new Evaluation
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations
Delete a Evaluation
DELETE/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations/{id}
ModelsExpand Collapse
EvaluationListResponse { id, created_at, datasets, 6 more }
EvaluationListResponse { id, created_at, datasets, 6 more }
EvaluationGetResponse { id, created_at, datasets, 6 more }
EvaluationGetResponse { id, created_at, datasets, 6 more }
EvaluationCreateResponse { id, created_at, datasets, 6 more }
EvaluationCreateResponse { id, created_at, datasets, 6 more }
EvaluationDeleteResponse { id, created_at, datasets, 6 more }
EvaluationDeleteResponse { id, created_at, datasets, 6 more }
AI GatewayDynamic Routing
List all AI Gateway Dynamic Routes.
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes
Get an AI Gateway Dynamic Route.
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}
Create a new AI Gateway Dynamic Route.
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes
Update an AI Gateway Dynamic Route.
PATCH/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}
Delete an AI Gateway Dynamic Route.
DELETE/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}
List all AI Gateway Dynamic Route Deployments.
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/deployments
Create a new AI Gateway Dynamic Route Deployment.
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/deployments
List all AI Gateway Dynamic Route Versions.
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions
Create a new AI Gateway Dynamic Route Version.
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions
Get an AI Gateway Dynamic Route Version.
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions/{version_id}
ModelsExpand Collapse
DynamicRoutingListResponse { data, success }
DynamicRoutingListResponse { data, success }
data: { order_by, order_by_direction, page, 2 more }
data: { order_by, order_by_direction, page, 2 more }
routes: array of { id, account_tag, created_at, 6 more }
routes: array of { id, account_tag, created_at, 6 more }
DynamicRoutingGetResponse { id, created_at, deployment, 5 more }
DynamicRoutingGetResponse { id, created_at, deployment, 5 more }
DynamicRoutingCreateResponse { id, created_at, deployment, 5 more }
DynamicRoutingCreateResponse { id, created_at, deployment, 5 more }
DynamicRoutingUpdateResponse { route, success }
DynamicRoutingUpdateResponse { route, success }
route: { id, account_tag, created_at, 6 more }
route: { id, account_tag, created_at, 6 more }
DynamicRoutingDeleteResponse { id, created_at, elements, 3 more }
DynamicRoutingDeleteResponse { id, created_at, elements, 3 more }
DynamicRoutingCreateDeploymentResponse { id, created_at, elements, 3 more }
DynamicRoutingCreateDeploymentResponse { id, created_at, elements, 3 more }
DynamicRoutingCreateVersionResponse { id, created_at, elements, 3 more }
DynamicRoutingCreateVersionResponse { id, created_at, elements, 3 more }
DynamicRoutingGetVersionResponse { id, active, created_at, 6 more }
DynamicRoutingGetVersionResponse { id, active, created_at, 6 more }
AI GatewayProvider Configs
List Provider Configs
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs
Create a new Provider Configs
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs
AI GatewayURLs
Get Gateway URL
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/url/{provider}