ARCHOS 525 BLUEPRINT · /d/dgm_int-api-gateway-managed
API Gateway Internals (AuthN, Schema Validation, Quotas & BFF Aggregation)
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-api-gateway-managed) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-api-gateway-managed)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-api-gateway-managed" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="API Gateway Internals (AuthN, Schema Validation, Quotas & BFF Aggregation) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["External Developers"]
waf_1["WAF & TLS Edge"]
auth_2["Auth & Plan Resolver"]
rl_3["Quota & Schema Guard"]
rt_4["Upstream Router"]
mtr_5[("Usage Metering Bus")]
downstream_6["Downstream & OTel"]
client_0 -->|"1. HTTPS API · HTTPS"| waf_1
waf_1 -->|"2. Authentica · JWT/Key"| auth_2
auth_2 -->|"3. Check · Lua/JSON"| rl_3
rt_4 -->|"Route to · mTLS"| rl_3
rt_4 -->|"Emit · Kafka"| mtr_5
rl_3 -.->|"4. Emit / · OTLP/API"| downstream_6COMPONENT STACK (7)
- External DevelopersSTATELESSAPI Keys / OAuth JWT
- WAF & TLS EdgeSTATELESSOWASP rules + DDoS shield
- Auth & Plan ResolverSTATELESSJWT/API-key -> tenant tier
- Quota & Schema GuardSTATELESSOpenAPI validate + Redis limit
- Upstream RouterSTATELESSShrinking timeout + mTLS
- Usage Metering BusSTATEFULAsync billing & analytics events
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- External Developers → WAF & TLS Edge (HTTPS API)[HTTPS]
- WAF & TLS Edge → Auth & Plan Resolver (Authentica)[JWT/Key]
- Auth & Plan Resolver → Quota & Schema Guard (Check)[Lua/JSON]
- Upstream Router → Quota & Schema Guard (Route to)[mTLS]
- Upstream Router → Usage Metering Bus (Emit)[Kafka]
- Quota & Schema Guard → Downstream & OTel (Emit /)[OTLP/API]