Update a gateway
Updates an existing gateway. Tenant JWTs may not send entitlements (422). Platform tier downgrades that would leave the tenant over the new MaxInstances return 409 — delete excess gateways first.
PUT
/
v1
/
gateways
/
{id}
Error
A valid request URL is required to generate request examples{
"agent_token_issuer": "<string>",
"client_tls": {},
"created_at": "<string>",
"domain": "<string>",
"entitlements": {
"burst_per_min": 123,
"data_plane": "<string>",
"max_instances": 123,
"quota_per_month": 123,
"retention_days": 123,
"tier": "<string>"
},
"hosts": {
"agent": "<string>",
"mcp": "<string>",
"proxy": "<string>"
},
"id": "<string>",
"metadata": {},
"session_config": {
"body_param_name": "<string>",
"enabled": true,
"header_name": "<string>"
},
"slug": "<string>",
"status": "<string>",
"store_mode": "<string>",
"telemetry": {
"enable_plugin_traces": true,
"enable_request_traces": true,
"exporters": [
{
"class": "metadata",
"name": "<string>",
"settings": {},
"type": "<string>"
}
],
"extra_params": {},
"header_mapping": {}
},
"traffic_labeling": {
"enabled": true,
"message_window": 123,
"model": "<string>",
"registry_id": "<string>",
"sampling_rate": 123
},
"updated_at": "<string>",
"version": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Body
application/json
Gateway fields to update
Response
OK
StoreMode is the gateway's MCP Store curation mode, the same value UpdateGatewayRequest writes. It is derived (never blank) rather than left for readers to dig out of metadata: a reader that missed it there read a gateway as open — the domain default — and showed a curated Store as wide open.
⌘I
Error
A valid request URL is required to generate request examples{
"agent_token_issuer": "<string>",
"client_tls": {},
"created_at": "<string>",
"domain": "<string>",
"entitlements": {
"burst_per_min": 123,
"data_plane": "<string>",
"max_instances": 123,
"quota_per_month": 123,
"retention_days": 123,
"tier": "<string>"
},
"hosts": {
"agent": "<string>",
"mcp": "<string>",
"proxy": "<string>"
},
"id": "<string>",
"metadata": {},
"session_config": {
"body_param_name": "<string>",
"enabled": true,
"header_name": "<string>"
},
"slug": "<string>",
"status": "<string>",
"store_mode": "<string>",
"telemetry": {
"enable_plugin_traces": true,
"enable_request_traces": true,
"exporters": [
{
"class": "metadata",
"name": "<string>",
"settings": {},
"type": "<string>"
}
],
"extra_params": {},
"header_mapping": {}
},
"traffic_labeling": {
"enabled": true,
"message_window": 123,
"model": "<string>",
"registry_id": "<string>",
"sampling_rate": 123
},
"updated_at": "<string>",
"version": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}