API versioning policy

Last updated: 2026-05-24

This policy describes the contract between Ollagraph and any application that integrates with the Ollagraph API. The goal is simple: code you write against Ollagraph today should keep working without changes for the lifetime of the major version it targets.

Versioning scheme

The API is versioned in the URL path. The current version is v1, served at https://api.ollagraph.com/v1/. There is exactly one supported major version at a time.

What does not count as a breaking change

The following are additive and can ship in any release without warning. Your code must tolerate them.

What counts as a breaking change

Anything in this list is treated as breaking. Breaking changes never ship inside v1. They land in v2 with the timeline below.

Deprecation timeline

When we eventually release v2, the following timeline applies. v1 does not shut off the day v2 ships.

Minimum total notice from v2 ship date to v1 shutdown: 18 months. We will not shorten this for any reason short of a critical security defect that cannot be patched in v1.

Individual endpoint deprecation

Occasionally a single endpoint inside the current major version may be deprecated — for example, because a better-shaped successor exists. In that case:

Security exceptions

If a vulnerability requires changing API behaviour to fix it, we will change the behaviour without the 6 or 18 month notice. We will document the change in the changelog within 24 hours and notify affected customers by email. Defects that affect billing or data confidentiality are treated this way; cosmetic or performance defects are not.

SDKs and tooling

Postman collection and OpenAPI specification are regenerated from the same source as the API itself. When new endpoints or fields ship, both update on the next deploy. The collection URL is stable: /ollagraph.postman_collection.json.

Reading deprecation headers

Both deprecation headers follow RFC 9745. In your client, treat them as advisory: log them, surface them to your engineering team, but do not interpret Deprecation: true as a failure signal — the endpoint still works until the Sunset date passes.

Deprecation: true
Sunset: Sat, 24 Nov 2027 00:00:00 GMT
Link: <https://ollagraph.com/legal/api-versioning>; rel="deprecation"

Changelog

Every API change — additive or breaking — is recorded in the changelog with date, scope, and migration notes where applicable.

Questions

Engineering teams considering Ollagraph for a long-lived integration are welcome to ask for written confirmation of this policy on company letterhead. Email [email protected].