Versioning and status
How the mlab.sh API is versioned, what can change under an integration, where changes are announced, and what exists for service status.
Versioning
The API has one version, in the path: every endpoint is under https://mlab.sh/api/v1/. The one exception is the file upload, POST https://mlab.sh/upload/file, at the site root. There is no version header, no date-based versioning, and no /api/v2.
Changes inside v1 are additive as a rule: new endpoints, new optional parameters, new fields in responses. Ignore fields you do not know, and do not rely on the order of keys or on the exact wording of error messages (branch on the status code, see Errors).
Versioned response schemas
Where a response had to change shape, the new shape got its own route and the old one was frozen, rather than changing in place. The domain scan is the example:
| Route | Schema | Status |
|---|---|---|
GET /api/v1/scan/domain/results | First-generation result set (subdomains, DNS, certificates, well-known files) | Frozen: will not change |
GET /api/v1/scan/domain/report | domain-report/2, named in the response's schema field | Current. Fields are only ever added; a breaking change ships as a new schema string on a new route. |
Check the schema field if you store reports.
Breaking changes so far
v1 has had a few changes that were not purely additive. They are listed here so you can check an older integration against them:
| Date | Version | Change |
|---|---|---|
| 2026-10-01 | 1.21 | API keys gained permissions and moved to the organization. A call outside a key's permissions answers 403 naming the permission (previously 401 for endpoints a key could not use). Existing keys were migrated to full access. |
| 2026-10-10 | 1.22.5 | SMS risk scoring was retired: POST /api/v1/scan/ioc returns the extracted indicators only, and its risk and country parameters are gone. |
| 2026-11-03 | API keys expire, after 90 days by default (a key can be created to never expire). An expired key answers 401. Calls with a key started returning X-RateLimit-* headers. |
Deprecations
There is no formal deprecation policy, no Deprecation or Sunset header, and no announced end-of-life date for any endpoint. Old routes have been kept working when a newer one replaced them (/scan/domain/results next to /scan/domain/report).
Where changes are announced
| Where | What |
|---|---|
| mlab.sh/changelog | Every release, newest first, with its changes grouped by product. Shows the last 60 days. |
| mlab.sh/changelog.json | The same, as JSON: {"releases": [{"version", "date", "tag", "title", "summary", "items"}]}, one entry per change, covering the newest 8 releases. Poll it to be told about changes in a script. |
| mlab.sh/openapi.json | The OpenAPI 3.2 description the API serves, rendered in the API Reference. |
| This documentation | Callouts on the affected pages, as on the API Guide for the key permissions change. |
There is no API-specific mailing list or RSS feed.
Status and uptime
There is no public status page and no published uptime commitment in the sources this documentation is built from.
What you can use to monitor the API from your side:
GET https://mlab.sh/api/v1/with your key: answers200with your organization and plan when the API and your key work,401when the key does not. It spends no quota.HEADon public pages answers200for a page that exists, so an uptime checker can watchhttps://mlab.sh/without starting anything.- A
502from a lookup means an upstream intelligence source is down, not mlab.sh itself; the rest of the API keeps answering.
If something looks down, contact support.