policies
Mark a policy as global
Promotes a policy to gateway-wide scope (applies to every consumer).
POST
Mark a policy as global
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Promotes a policy to gateway-wide scope (applies to every consumer).
curl --request POST \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/policies/{id}/global \
--header 'Authorization: <api-key>'{
"consumer_ids": [
"<string>"
],
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"global": true,
"id": "<string>",
"mode": "<string>",
"name": "<string>",
"parallel": true,
"priority": 123,
"settings": {},
"slug": "<string>",
"stages": [
"<string>"
],
"updated_at": "<string>"
}curl --request POST \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/policies/{id}/global \
--header 'Authorization: <api-key>'{
"consumer_ids": [
"<string>"
],
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"global": true,
"id": "<string>",
"mode": "<string>",
"name": "<string>",
"parallel": true,
"priority": 123,
"settings": {},
"slug": "<string>",
"stages": [
"<string>"
],
"updated_at": "<string>"
}