Lunar.dev · Schema

Lunar.dev Discovered Endpoint

Represents an API endpoint discovered by the Lunar Gateway through observed traffic, including request metrics such as count, latency, and status code distributions.

AI GatewayAutomationConsumption GatewayControlDeploymentIntegrationsMCP GatewayPerformancePlatformVersion ControlVisibilityWorkflows

Properties

Name Type Description
method string HTTP method observed for this endpoint.
url string The URL pattern of the discovered endpoint.
status_codes object Distribution of HTTP status codes observed for this endpoint.
count integer Total number of requests observed for this endpoint.
average_latency_ms number Average latency in milliseconds for requests to this endpoint.
View JSON Schema on GitHub

JSON Schema

discovered-endpoint.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/lunar-dev/blob/main/json-schema/discovered-endpoint.json",
  "title": "Lunar.dev Discovered Endpoint",
  "description": "Represents an API endpoint discovered by the Lunar Gateway through observed traffic, including request metrics such as count, latency, and status code distributions.",
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "description": "HTTP method observed for this endpoint.",
      "examples": [
        "GET",
        "POST"
      ]
    },
    "url": {
      "type": "string",
      "description": "The URL pattern of the discovered endpoint.",
      "examples": [
        "api.example.com/v1/users"
      ]
    },
    "status_codes": {
      "type": "object",
      "description": "Distribution of HTTP status codes observed for this endpoint.",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "count": {
      "type": "integer",
      "description": "Total number of requests observed for this endpoint."
    },
    "average_latency_ms": {
      "type": "number",
      "description": "Average latency in milliseconds for requests to this endpoint."
    }
  }
}