Authentication
Posts
Add Readings
POST
https://api.zira.us/public/reading
Description
Use this endpoint to post readings in the primary SDK ingestion format, with values keyed by metric ID inside each reading.
| Property | Required | Type | Example | Description |
|---|---|---|---|---|
| meterId | Required | string | "43510" | Data source that will receive the readings. Must be a JSON string — a number is rejected. |
| readings | Required | object[] | [{ "timestamp": …, "values": … }] | One entry per timestamped reading for that data source. |
| readings[].timestamp | Required | string | "2026-01-14T10:00:00Z" | When the reading was taken. Send null to use the server’s current time — but the key must be present either way. |
| readings[].values | Required | object | { "33": 12.4, "34": 55 } | Metric IDs mapped to their values. Get the IDs from GET /data-sources/{id}?withSchema=true. |