Reload Routes
Force-refresh the in-memory route map. Called by the Supabase trigger gateway_routes_reload_on_change whenever public.gateway_service_routes is INSERTed / UPDATEd / DELETEd.
The gateway does not talk to Supabase directly — it pulls from marketing-catalog over the Railway internal mesh, passing ?force=1 so marketing-catalog re-queries Supabase rather than serving its 2s coalesce cache.
Auth: shared INTERNAL_SECRET via the X-Internal-Secret header — same secret the gateway uses to call workers. Not exposed to customers.
post/v1/internal/reload-routes
Request
- Base URLhttps://api.empiriolabs.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
unknown required
Changes
No operation changes recorded.