← Back to projects
AI agents2026Validated

Partner FOB Cost API

Lets external partners query a reference cost without giving them access to any internal system.

0internal credentials exposed

The problem

External partners needed the reference cost, but giving them access to internal infrastructure was a security non-starter.

What I did

On top of my FOB cost predictor's infrastructure, I designed the public facade: a decoupled read model (matrix precomputed by an internal process), per-partner API-key auth, rate limiting and zero BSG credentials on the partner side. Security by design.

The outcome

Design complete, delivering only aggregated reference values — the ecosystem's public-API pattern.

How it exposes the data and nothing else

  1. Partner requestInput: no VPN
  2. Per-partner API keyOne per consumer
  3. Rate limitingPer key
  4. Decoupled read modelPrecomputed matrix
  5. Aggregated values onlyNever the individual record
  6. Response with no internal credentialsOutput

The partner needs a number; granting access to internal infrastructure to get it was unacceptable. The answer is a decoupled read model: the partner queries a precomputed matrix and never touches an internal system or a corporate credential.

Stack

  • Python
  • FastAPI
  • Pydantic
  • Supabase
  • Docker

Blue Star Group internal project — the code is not public.

Next project: RPA at scale — WF Consulting →