Server-side proxy pattern - HarnessRouter Docs | HarnessRouter

Server-side proxy pattern

Flow

Server-side proxy

Browser
  -> POST /api/product-feature
  -> validate product user and tenant
  -> map feature_key to harness_id
  -> call HarnessRouter with HR_API_KEY
  -> return product-shaped stream or JSON

Why

Open standard
Putting your backend between the browser and HarnessRouter places it in the Client role of UHP's architecture — the application that wants work done, which the spec itself says can be a product backend. See roles in the UHP Architecture chapter.
Create API Key →

Ready to run this against a live workspace? Keys take under a minute.