Linkerd · Schema

Linkerd Tap Event

A real-time traffic event captured by the Linkerd Tap API, containing source and destination metadata, proxy direction, and HTTP request/response details.

KubernetesmTLSObservabilitySecurityService Mesh

Properties

Name Type Description
source object Source TCP address of the request.
source_meta object Metadata labels for the source workload.
destination object Destination TCP address of the request.
destination_meta object Metadata labels for the destination workload.
route_meta object Metadata labels for the matched route.
proxy_direction string Direction of the proxied request.
request_init object Initial request metadata when a new request begins.
response_init object Initial response metadata when headers are received.
response_end object Final response metadata when the stream completes.
View JSON Schema on GitHub

JSON Schema

tap-event.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/linkerd/blob/main/json-schema/tap-event.json",
  "title": "Linkerd Tap Event",
  "description": "A real-time traffic event captured by the Linkerd Tap API, containing source and destination metadata, proxy direction, and HTTP request/response details.",
  "type": "object",
  "properties": {
    "source": {
      "$ref": "#/$defs/TcpAddress",
      "description": "Source TCP address of the request."
    },
    "source_meta": {
      "type": "object",
      "description": "Metadata labels for the source workload.",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "destination": {
      "$ref": "#/$defs/TcpAddress",
      "description": "Destination TCP address of the request."
    },
    "destination_meta": {
      "type": "object",
      "description": "Metadata labels for the destination workload.",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "route_meta": {
      "type": "object",
      "description": "Metadata labels for the matched route.",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "proxy_direction": {
      "type": "string",
      "description": "Direction of the proxied request.",
      "enum": ["INBOUND", "OUTBOUND"]
    },
    "request_init": {
      "type": "object",
      "description": "Initial request metadata when a new request begins.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique stream identifier for this request."
        },
        "method": {
          "type": "string",
          "description": "HTTP method of the request."
        },
        "scheme": {
          "type": "string",
          "description": "URI scheme (http or https)."
        },
        "authority": {
          "type": "string",
          "description": "Authority (Host header) of the request."
        },
        "path": {
          "type": "string",
          "description": "Request path."
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "HTTP request headers."
        }
      }
    },
    "response_init": {
      "type": "object",
      "description": "Initial response metadata when headers are received.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique stream identifier matching the request."
        },
        "http_status": {
          "type": "integer",
          "description": "HTTP response status code."
        },
        "latency_ns": {
          "type": "integer",
          "description": "Time to first response byte in nanoseconds."
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "HTTP response headers."
        }
      }
    },
    "response_end": {
      "type": "object",
      "description": "Final response metadata when the stream completes.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique stream identifier matching the request."
        },
        "grpc_status": {
          "type": "integer",
          "description": "gRPC status code if applicable."
        },
        "duration_ns": {
          "type": "integer",
          "description": "Total stream duration in nanoseconds."
        },
        "response_bytes": {
          "type": "integer",
          "description": "Total response body bytes."
        }
      }
    }
  },
  "$defs": {
    "TcpAddress": {
      "type": "object",
      "description": "A TCP address consisting of an IP and port.",
      "properties": {
        "ip": {
          "type": "string",
          "description": "IP address."
        },
        "port": {
          "type": "integer",
          "description": "Port number."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tap-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.