---
title: "Biocompile API versioning and stability"
description: "What version 1 of the Biocompile API promises, which changes may still happen, and how deprecations are announced with Deprecation and Sunset headers."
url: https://www.biocompile.com/docs/api-versioning/
section: "API and integrations"
last_updated: 2026-11-03
---

# Biocompile API versioning and stability

> What version 1 of the Biocompile API promises, which changes may still happen, and how deprecations are announced with Deprecation and Sunset headers.

Source: https://www.biocompile.com/docs/api-versioning/. Index of all Biocompile documentation: https://www.biocompile.com/docs/index.md

The Biocompile API carries its major version in the path, and every public operation is
under `/api/v1`. A client written against version 1 keeps working for as long as version 1
exists, because changes within it only add to the API.

## Changes that can happen in version 1

Within version 1, Biocompile may add to the API:

- New operations.
- New optional request parameters and body fields.
- New response fields.
- New values in response enums and new error codes.
- New scopes.

Write clients that tolerate these additions. Ignore response fields you do not know, and
treat an unknown enum value or error code as a general case rather than a failure.

## Changes that never happen in version 1

Biocompile never makes these changes within version 1:

- Remove an operation or a response field.
- Add a required request parameter or body field.
- Change the type of a field.
- Remove an enum value your requests may send.
- Require an additional scope for an existing operation.

Every change to the public API is compared with the published version before it ships, and
any of these changes is refused. A change that needs one goes into a new major version,
`/api/v2`.

## Deprecation

An operation that is going away is first marked as deprecated. Its responses then carry a
`Deprecation` header and a `Sunset` header with a date at least 180 days later. The operation
keeps working until that date and is removed only in a new major version.

Log the `Deprecation` header in your client, so you see a deprecation well before the sunset
date.

## Common questions

### Will a Biocompile API update break my script?

No, as long as the script ignores fields and enum values it does not know. Version 1 only
adds operations, optional fields and response fields.

### How much notice is given before an operation is removed?

At least 180 days. The `Sunset` header on the operation's responses gives the date, and
removal happens only in a new major version.

## Related

- [Biocompile API reference](https://www.biocompile.com/docs/api-reference.md)
- [API errors and rate limits](https://www.biocompile.com/docs/api-errors-and-limits.md)
- [Biocompile API overview](https://www.biocompile.com/docs/api-overview.md)

## Get access to Biocompile

Biocompile is used in the browser at https://app.biocompile.com. It is free to start and no payment method is required: sign up at https://app.biocompile.com/signup?mc_cta=docs-md&mc_path=/docs/api-versioning.md. If your team already uses Biocompile, ask an organization admin to invite you. Research teams that want hands-on setup can apply for the founder-led pilot at https://www.biocompile.com/pilot/. Questions: https://www.biocompile.com/contact/.
