X-API-Version, and the
OpenAPI document identifies the contract it describes.
Compatibility policy
Within a published API version, Perkstar may:- add optional response fields;
- add new endpoints or webhook event types;
- add optional request fields; and
- improve validation and error detail without changing successful behaviour.
SDK versions
@perkstar/api-client follows semantic versioning:
- patch releases contain compatible fixes;
- minor releases add compatible functionality; and
- major releases may require code changes or pin a newer API contract.
Detecting drift
LogX-API-Version with request IDs. During deployment, compare the SDK’s
exported API_VERSION with the server header and alert on an unexpected value.
