Loading documentation…
Loading documentation…
PearMedica uses URL-based versioning to ensure backward compatibility while allowing the API to evolve. This page covers our versioning strategy, deprecation timeline, and migration guidance.
All API endpoints include a version prefix in the URL path. The current version is v1.
# Current (stable)POST https://api.pearmedica.com/v1/assessPOST https://api.pearmedica.com/v1/parseGET https://api.pearmedica.com/v1/symptomsGET https://api.pearmedica.com/v1/health
Within a major version (e.g., v1), we guarantee the following:
We may add new fields to response objects, new query parameters, and new endpoints. Existing fields and behavior will not change.
Existing response fields are never removed within the same major version. Fields may be deprecated but will continue to be returned.
Error codes like INVALID_API_KEY or RATE_LIMIT_EXCEEDED are permanent within a version. New error codes may be added.
The Bearer token authentication method and API key format (sk_live_ / sk_test_) will not change within a major version.
The following changes will always result in a new major version (e.g., v2):
When a new major version is released:
New version released. Deprecation notice published in the Changelog and emailed to all API key holders.
Both versions run in parallel. The deprecated version adds a Deprecation header to all responses. Migration guide published.
Final reminder sent via email. Dashboard shows migration alert. Rate limits may be reduced on the deprecated version.
The deprecated version returns 410 Gone. All traffic must use the new version.
| Version | Status | Notes |
|---|---|---|
| v1 | Current — Stable | Full support. No planned deprecation. |