Skip to main content

Developers / API / Versioning

Versioning and deprecation

The REST API is versioned in the path (/api/v1). A version keeps its contract: within it, changes only add. Anything that could break an integration ships as a new version, and the old one keeps working for at least 12 months after the new one is available.

Changes that never need a new version

  • New endpoints, new optional query parameters and new optional body fields.
  • New fields in a response. Read responses as open objects and ignore fields you do not know.
  • New values in a list of codes or statuses that the API returns. Treat an unknown value as other.
  • New error codes in the error table, and clearer error messages (the code stays the same).
  • New MCP tools, and new optional arguments on an existing tool.

Breaking changes (new version only)

  • Removing or renaming an endpoint, a field, a query parameter or an MCP tool.
  • Making an optional input required, or narrowing what an input accepts.
  • Changing the type or meaning of a field, a status code or an error code.
  • Changing authentication, scopes or the pagination model.

How a deprecation is announced

  • The change is listed in the changelog with the date the old behaviour stops.
  • Responses from a deprecated endpoint carry a Deprecation header (RFC 9745) and a Sunset header (RFC 8594) with that date, and a Link header to the migration notes.
  • Admins of workspaces that used the deprecated endpoint in the last 90 days are told in the product.
  • The old version keeps answering until the Sunset date, then answers 410 Gone with a problem body that links to the new version.

What is versioned how

SurfaceRule
REST APIMajor version in the path (/api/v1). The OpenAPI document's info.version moves within 1.x for additive changes.
MCP serverOne address (/mcp). Tools are added freely; removing or renaming a tool follows the same notice period. The MCP protocol version is negotiated per connection.
TypeScript SDKSemantic versioning: a breaking change is a new major version.
Postman and Bruno collectionsGenerated from the OpenAPI document; they change with it.

Exceptions

A change needed to close a security hole or to stop data from being exposed can ship without the notice period. It is announced in the changelog the same day.

Back to the API reference or the MCP guide.