# SMI Traffic Specs

**Canonical:** https://apis.io/apis/service-mesh-interface/smi-traffic-specs/  
**Provider:** Service Mesh Interface (SMI) — https://apis.io/providers/service-mesh-interface/  
**Documentation:** https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-specs/v1alpha4/traffic-specs.md

SMI Traffic Specs is one of 4 APIs that [Service Mesh Interface (SMI)](https://apis.io/providers/service-mesh-interface/) publishes on the [APIs.io](https://apis.io/) network. This API exposes 3 JSON Schema definitions. Tagged areas include Traffic Specs, Routing, HTTP, TCP, and UDP.

Traffic Specs describes a set of resources that allow users to specify how their traffic looks. It is used in concert with access control and other policies to concretely define what should happen to specific types of traffic as it flows through the mesh. Defines `HTTPRouteGroup`, `TCPRoute`, and `UDPRoute` resources.

## Machine-readable artifacts (11)

- **APIVersion**
- **Kind**
- **Kind**
- **Kind**
- **Specification** — https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-specs/v1alpha4/traffic-specs.md
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./json-schema/http-route-group-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./json-schema/tcp-route-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./json-schema/udp-route-schema.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./examples/http-route-group-example.yaml
- **Examples** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./examples/tcp-route-example.yaml
- **Examples** — https://raw.githubusercontent.com/api-evangelist/service-mesh-interface/refs/heads/main/./examples/udp-route-example.yaml

## Other Service Mesh Interface (SMI) APIs (3)

- [SMI Traffic Access Control](https://apis.io/apis/service-mesh-interface/smi-traffic-access/)
- [SMI Traffic Split](https://apis.io/apis/service-mesh-interface/smi-traffic-split/)
- [SMI Traffic Metrics](https://apis.io/apis/service-mesh-interface/smi-traffic-metrics/)

## Tags

Traffic Specs, Routing, HTTP, TCP, UDP, Kubernetes CRD, SMI

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/service-mesh-interface/smi-traffic-specs/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/service-mesh-interface/.
