Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt

Use this file to discover all available pages before exploring further.

The Spotzee API uses date-based versions identified by the day a release shipped. Pin a version with the Spotzee-Version request header.
Spotzee-Version: 2026-04-28
The current release is 2026-04-28.

How it works

  • Send the header: the request runs against that version.
  • Omit the header: the request runs against the current default release. The default moves forward only when a new dated release ships; pin a version explicitly if you want behaviour to stay stable across upgrades.
  • Every response echoes the version in a Spotzee-Version response header so you can confirm what you ran against.
HTTP/1.1 200 OK
Spotzee-Version: 2026-04-28

Choosing a version pin

Pin to the latest version when you build, then schedule periodic upgrades — for example, once per quarter. Every breaking change earns a new dated release; the version you pinned keeps working until its deprecation window closes.

Version errors

HTTPcodeWhen
400version_unsupportedThe Spotzee-Version header value isn’t a known release
400parameter_invalid_formatThe header is present but isn’t an ISO YYYY-MM-DD date

Breaking vs non-breaking changes

A new dated release ships when we make a breaking change. Adding a new endpoint, response field, or enum value is non-breaking and lands in the current release without a new pin. Treat the following as breaking:
  • Removing or renaming a field
  • Tightening validation (rejecting input that previously succeeded)
  • Changing the type or shape of an existing field
  • Changing the meaning of an enum value
  • Changing default behaviour when a parameter is omitted

Deprecation windows

Endpoints, fields, or behaviours scheduled for removal carry a deprecated: true marker in the OpenAPI spec along with the date after which they stop working. Spotzee aims for a 12-month deprecation window.

Next steps

Errors

Status codes and the code catalogue.

Idempotency

Make retries safe.