Skip to main content
GET
/
mcp-gateway
/
get-gateway-config
Get Expanded MCP Gateway Configuration
curl --request GET \
  --url https://api.enkryptai.com/mcp-gateway/get-gateway-config \
  --header 'X-Enkrypt-MCP-Gateway: <x-enkrypt-mcp-gateway>' \
  --header 'apikey: <api-key>'
{
  "gateway_saved_name": "<string>",
  "gateway_version": "<string>",
  "gateway_id": "<string>",
  "project_name": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "common_overrides": {
    "input_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    },
    "output_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    },
    "tool_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    },
    "enable_server_info_validation": true
  },
  "expanded_servers": [
    {
      "saved_name": "<string>",
      "server_version": "<string>",
      "server_name": "<string>",
      "description": "<string>",
      "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "source_url": "<string>",
      "source_version": "<string>",
      "registry_id": "<string>",
      "is_active": true,
      "mcp_config": {},
      "gateway_overrides": {
        "input_guardrails_config": {
          "enabled": true,
          "guardrail_name": "<string>",
          "additional_config": {},
          "block": [
            "policy_violation"
          ]
        },
        "output_guardrails_config": {
          "enabled": true,
          "guardrail_name": "<string>",
          "additional_config": {},
          "block": [
            "policy_violation"
          ]
        },
        "tool_guardrails_config": {
          "enabled": true,
          "guardrail_name": "<string>",
          "additional_config": {},
          "block": [
            "policy_violation"
          ]
        },
        "enable_server_info_validation": true
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.enkryptai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-MCP-Gateway
string
required

Gateway saved_name

Maximum string length: 32
Example:

"my-dev-gateway"

X-Enkrypt-MCP-Gateway-Version
string
default:v1

Gateway version (defaults to "v1")

Example:

"v1"

Response

Expanded gateway configuration

gateway_saved_name
string

Gateway name

gateway_version
string

Gateway version

gateway_id
string

Hashed gateway ID

project_name
string

Project name

is_active
boolean

Whether the gateway is enabled

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

common_overrides
object

Echo of servers_config.common_overrides β€” the gateway-wide override block applied to every server before per-server overrides are layered on. Empty object when not set.

expanded_servers
object[]