Skip to main content
POST
/
v1
/
gateways
Create a gateway
curl --request POST \
  --url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_tls": {},
  "domain": "<string>",
  "metadata": {},
  "name": "<string>",
  "session_config": {
    "body_param_name": "<string>",
    "enabled": true,
    "header_name": "<string>"
  },
  "slug": "<string>",
  "telemetry": {
    "enable_plugin_traces": true,
    "enable_request_traces": true,
    "exporters": [
      {
        "name": "<string>",
        "settings": {}
      }
    ],
    "extra_params": {},
    "header_mapping": {}
  }
}
'
{
  "client_tls": {},
  "created_at": "<string>",
  "domain": "<string>",
  "hosts": {
    "mcp": "<string>",
    "proxy": "<string>"
  },
  "id": "<string>",
  "metadata": {},
  "name": "<string>",
  "session_config": {
    "body_param_name": "<string>",
    "enabled": true,
    "header_name": "<string>"
  },
  "slug": "<string>",
  "status": "<string>",
  "telemetry": {
    "enable_plugin_traces": true,
    "enable_request_traces": true,
    "exporters": [
      {
        "name": "<string>",
        "settings": {}
      }
    ],
    "extra_params": {},
    "header_mapping": {}
  },
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Gateway to create

client_tls
object
domain
string
metadata
object
name
string
session_config
object
slug
string
telemetry
object

Response

Created

client_tls
object
created_at
string
domain
string
hosts
object
id
string
metadata
object
name
string
session_config
object
slug
string
status
string
telemetry
object
updated_at
string