Skip to content
VaultLens Studio

Versioning and deprecation

The API’s path carries its major version (/v1). Within a major version, VaultLens only makes changes that keep existing integrations working. Every change is listed in the API changelog, and the OpenAPI document’s info.version says which version is live.

Changes we make within /v1

These can happen at any time and are listed in the changelog. Write your integration so they don’t break it:

  • New endpoints, and new optional query parameters, request fields and headers.
  • New fields in responses and webhook payloads. Ignore fields you don’t know.
  • New values for enums such as job type and state, new webhook event types, and new error codes. Treat a value you don’t know like a generic one: for example, an unknown error code by its HTTP status, and an unknown job state as not final yet.
  • Higher limits (page sizes, rate limits).
  • Different wording in error.message. Match on error.code, never on the message.
  • Fixes that make the API do what its documentation says.

What counts as breaking

These only ever come in a new major version under a new path:

  • Removing or renaming an endpoint, field, parameter, enum value or webhook event.
  • Changing a field’s type or meaning, or making an optional parameter required.
  • Needing a different or extra scope for an existing call.
  • Changing the status code or error code returned for an existing situation.
  • Changing how requests are authenticated, or how webhooks are signed.

One exception: if a change is needed to protect customers’ data (a security fix), we make it straight away and tell the owners of affected keys and webhooks directly.

How a new major version arrives

A /v2 would run alongside /v1 at the same addresses, with its own OpenAPI document and its own changelog. Nothing about /v1 changes when /v2 launches.

  • Announcement: in the changelog and on the blog, and by email to the owners and admins of every workspace with an active API key or webhook.
  • Notice: /v1 keeps working for at least 12 months after /v2 is announced. The date it stops is given in the announcement.
  • Signals in responses: once /v1 or one of its endpoints is deprecated, its responses carry Deprecation and Sunset headers with the dates, so you can find the calls to update in your logs.

Features within /v1 that are deprecated in favour of a better way keep working until /v1 itself is switched off.

Addresses

The API’s address is https://api.vaultlens.studio/v1. The earlier address, https://vaultlens-studio.web.app/api/v1, is the same API and keeps working with the same notice rules. The MCP server is at https://mcp.vaultlens.studio/mcp; connections made with https://vaultlens-studio.web.app/mcp keep working.

Status

Whether the API, the MCP server and the app are up right now: the status page.