Reference · Concept
Versioning
An API version is a date, such as 2026-11-30, sent in the Provenance-Version header. Your account is pinned to the version current when you create its first API key, so a later release never changes the responses your integration reads until you choose it.
When to use it
- Know which changes can reach your integration without warning, and which can't.
- Try a newer version on one request before you move your integration to it.
- Tell which version served a response when you report a problem.
How it works
- Your account is pinned at its first key. Requests with an API key and no
Provenance-Versionheader use that version. - The request header overrides the pin. Send
Provenance-Version: <date>on any request to use that version for it. The SDKs send the version they were built against. An unknown date returns400api_version_unknown. - Every response names its version. The
Provenance-Versionresponse header is the version the request used, on errors too. - Each webhook endpoint has its own version. Set
api_versionwhen you create or update an endpoint; it defaults to the version of the request that created it. Each delivery is rendered at that version and carries it in the envelope'sapi_versionand theProvenance-Versionheader. - Within a version, changes only add. New optional request fields, response fields, endpoints, enum values, event types and error codes can appear at any time. A change that removes or renames a field, changes a field's type or changes what a value means ships as a new version.
The /v1/ path prefix stays the same across versions. Write clients that ignore fields and enum values they don't know.
Upgrade your account
Developers → API keys in the console shows the version your keys use and, when a newer one exists, an Upgrade button for owners and admins. The console lists what changed and asks for your passkey or second factor when you have one.
An upgrade moves your account to the current version and can't be undone; an older version is never offered (api_version_not_newer). Webhook endpoints keep their own versions, so update each one on its own. Before you upgrade, try the new version by sending its date in Provenance-Version on a few requests. Each upgrade appears in the audit log.
Versions
| Version | What changed |
|---|---|
2026-11-30 | The current version, and the only one. |
See the version
export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -s -o /dev/null -D - $PROVENANCE_API/v1/attest/claims \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Provenance-Version: 2026-11-30" | grep -i provenance-version
const res = await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims`, {
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Provenance-Version": "2026-11-30" },
});
console.log(res.headers.get("provenance-version"));
import os
import httpx
res = httpx.get(
f"{os.environ['PROVENANCE_API']}/v1/attest/claims",
headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}", "Provenance-Version": "2026-11-30"},
)
print(res.headers["provenance-version"])
provenance-version: 2026-11-30
The OpenAPI document is the contract of record: the SDKs and the API reference are built to match it.