APIs change.
Your app stays live.
Poly detects breaking API changes, AI-generates safe fixes, and patches responses before your code sees them โ zero proxy, zero deploy, zero downtime.
Without Poly
Third-party API renames name to full_name. Your app crashes in production at 3 AM.
1// API response changed silently2const user = res.data3console.log(user.name)4// โ undefined ๐ฅ CRASH
- โPage breaks for all users
- โEmergency deploys at midnight
- โAngry customers, lost revenue
With Poly
Poly's SDK detects the drift, asks AI for a safe mapping, and patches the response before your code even sees it.
1// Poly patches response in-memory2const user = res.data3console.log(user.name)4// โ "John Doe" โ WORKS
- โZero downtime, instant fix
- โNo deploy needed
- โUsers never notice anything
See it in action
Watch Poly detect a breaking API change and fix it โ step by step, live in your browser.
Click "Run Demo" to see Poly detect and fix a real API breaking change โ all before your code notices.
How Poly sits in your stack
Poly runs entirely in your process. Only schema metadata reaches Poly Cloud for AI analysis โ never your data.
Detect
SDK intercepts every API response and compares it against the learned schema baseline. Detects 7 types of drift.
Analyze
Only schema metadata goes to Poly Cloud. AI generates a safe mapping. Protected fields like prices and tokens are never touched.
Patch
Response is transformed locally in-memory before your code sees it. Patch is cached โ no repeated AI calls.
Setup in 30 seconds
Wrap your existing HTTP client. That's the only change you need.
1import { Poly } from "pritpolytt-sdk"2import axios from "axios"34// Initialize with your API key5Poly.init({ apiKey: "poly_live_xxx" })67// Wrap your HTTP client โ that's it!8Poly.wrap(axios)
Built for production
Every design decision prioritizes reliability, security, and developer experience.
7 Drift Types
Auto-detectedField renames, type changes, removals, additions, nested shifts, enum changes, and structure reordering โ caught before they crash your app.
Protected Fields
Zero data leaksMark prices, payments, auth tokens, or any field as protected. Poly will never include them in AI analysis โ guaranteed.
Zero Proxy
Runs locallyYour traffic never routes through Poly servers. The SDK runs entirely in your process โ intercepting and patching locally.
Patch Cache
Instant reuseIdentical drift patterns are fixed instantly from local cache โ no repeated AI calls needed.
Confidence Scores
AI-poweredEvery patch scored 0โ100%. Set thresholds to auto-apply high-confidence patches, review the rest.
Rule Engine
Override AI with custom rules. Force specific field mappings, block changes on critical endpoints, or whitelist trusted APIs โ you're in control.
Your data stays yours
Poly was designed with privacy as a first principle. Here's exactly what happens.
Stays in your process
- โ Full API response payloads โ never leave your machine
- โ User data, PII, business logic โ stays local
- โ Auth tokens, API keys, secrets โ never transmitted
- โ Patches apply in-memory โ zero latency
Sent to Poly Cloud (only)
- โ Field names and types โ
full_name โ name - โ Schema structure โ nesting, arrays, enums
- โ Drift type classification โ rename, remove, etc.
- โ No values, no payloads โ just shapes
$0/month
No credit card. No limits. We're building in public and want your feedback.
Stop fearing API changes.
Install Poly, wrap your HTTP client, and never deal with a breaking API change again.
npm i github:Pritahi/poly-sdk