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

Response

Successful Response

unknown required

Changes

No operation changes recorded.