TrustGate
AI gateway to protect and scale your GenAI apps
Adds a new rule under a gateway
{ "active": true, "createdAt": "<string>", "gatewayID": "<string>", "headers": {}, "id": "<string>", "methods": [ "<string>" ], "path": "<string>", "pluginChain": [ { "enabled": true, "id": "<string>", "level": "gateway", "name": "<string>", "parallel": true, "priority": 123, "settings": {}, "stage": "pre_request" } ], "preserveHost": true, "public": true, "retryAttempts": 123, "serviceID": "<string>", "stripPath": true, "updatedAt": "<string>" }
Gateway ID
Show child attributes
ID of the gateway or rule this plugin belongs to
gateway
rule
Whether this plugin can run in parallel
pre_request
post_request
pre_response
post_response