Kong · Schema

Target

A Target is an IP address/hostname with a port that identifies an instance of a backend service.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
id string
target string The target address (IP or hostname) and port (host:port).
weight integer The weight this target gets within the upstream (0-65535). 0 means the target is disabled.
tags array
upstream object
created_at number
updated_at number
View JSON Schema on GitHub

JSON Schema

kong-gateway-admin-target-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Target",
  "type": "object",
  "description": "A Target is an IP address/hostname with a port that identifies an instance of a backend service.",
  "properties": {
    "id": {
      "type": "string"
    },
    "target": {
      "type": "string",
      "description": "The target address (IP or hostname) and port (host:port)."
    },
    "weight": {
      "type": "integer",
      "description": "The weight this target gets within the upstream (0-65535). 0 means the target is disabled."
    },
    "tags": {
      "type": "array"
    },
    "upstream": {
      "type": "object"
    },
    "created_at": {
      "type": "number"
    },
    "updated_at": {
      "type": "number"
    }
  }
}