Alguna-Version header — is deprecated and will be retired. If usage events are the only thing you send to Alguna, this is the whole migration: add one header and rename two fields. Nothing else about your ingestion pipeline changes — same host, same API key, same path, same batch size, same response.
This page covers POST /events only. For the rest of the API, see Overview, and for what events are and how they reach an invoice, see Send usage events.
What changes
Two field renames and one header. Everything else you already send is already correct.
Before and after
Unversioned request body:2026-04-01 request body:
Making the call
What the response means
Both versions return the same two arrays:ingested and failed hold unique_id values. A 200 does not mean every event was accepted — check failed on every response. An event lands in failed when it is well-formed JSON but cannot be processed, and the rest of the batch still goes through.
Per-event handling is unchanged from the unversioned API. An event that does not parse — a timestamp that is not RFC 3339, a unique_id that is not a string, an array element that is not an object — is reported in failed while the rest of the batch ingests. One bad event never costs you the batch it arrived in.
A 4xx means the request envelope itself was wrong: no events array, an empty one, or more than 100 events. In that case nothing is ingested.
Cutting over
Both APIs accept traffic during the move, so there is no coordinated switch to run.- Rename
uniqueIdtounique_idandeventNametoevent_namein the code that builds your event payloads. - Add the
Alguna-Version: 2026-04-01header to the same request. - Send one batch to sandbox and confirm
ingestedlists your ids andfailedis empty. - Deploy. Watch
failedfor one full billing cycle. - Confirm usage still lands on the expected metrics — see Metrics reference.
Checklist
-
uniqueIdrenamed tounique_id. -
eventNamerenamed toevent_name. -
Alguna-Version: 2026-04-01sent on every request, in the same deploy as the renames. -
failedchecked on every response, not just the status code. - Verified in sandbox before production.
/events, the version header applies to those too and their shapes change more than this one does. Contact us before you migrate them.