technical

API reference

Server functions exposed by the app: mapping copilot and NPPES lookup.

suggestMappings

createServerFn — asks the AI Gateway to propose source-field + transform for a batch of unmapped elements.

lookupNpi / searchProviders / batchLookup

createServerFn — proxies the public NPI Registry API. lookupNpi is single-NPI, batchLookup fans out with concurrency 8 (capped at 500 NPIs per call).