API Versioning & Deprecation Policy
Effective: August 2026 · Version 2.0.0 · Governed by Mohd Shubair
1. Stability Guarantee for AI Agents & Developers
TradeInsight AI commits to providing predictable, backward-compatible API surfaces. AI agents and automated algorithmic workflows rely on stable contracts. We never introduce breaking schema changes or remove endpoints on active API versions without following the formal deprecation timeline outlined below.
2. Versioning Strategy
TradeInsight AI uses URL-based semantic path versioning:
- Non-breaking enhancements (adding new fields, optional parameters, new endpoints) are introduced directly into the current version (
v1). - Breaking changes (removing fields, altering required parameters, changing response status codes) trigger a new major version (
v2).
3. Deprecation Timeline & Protocol
When an endpoint or schema is marked for deprecation:
- Minimum 6 Months Notice: The endpoint remains fully operational for at least 180 calendar days from the formal deprecation announcement.
- Machine-Readable HTTP Headers (RFC 8594): Responses from deprecated endpoints include standard RFC headers:Deprecation: @1771891200Sunset: Wed, 24 Feb 2027 00:00:00 GMTLink: <https://tradeinsight.shubair.in/docs/deprecation-policy>; rel="deprecation"
- OpenAPI Specification: The endpoint is marked with
"deprecated": truein/openapi.json. - Developer Notification: Documented in
llms.txt,/docs/api, and sent via developer communications.
4. Sunset & Retirement
After the Sunset date passes, retired endpoints will return HTTP 410 Gone or HTTP 404 with structured JSON error responses directing agents to the current replacement endpoint:
5. Current Deprecated Endpoints
POST /api/v1/auth/login. Returns RFC Deprecation and Sunset headers.6. Questions & Support
For deprecation migration assistance, contact Mohd Shubair at shubair313@gmail.com or open an issue on GitHub.