Telemetry
POST /telemetry takes one record per ground-to-satellite link, keyed by the IDs in your network config. The server checks every ID against your latest network config and every field against a fixed list. Topology and predictions read the telemetry written here.
POST /telemetry
Content-Type: application/json
Auth: x-api-key, scope telemetry:write. Test keys cannot write. See Authentication. If your account has no network config yet, the request fails with 409 {"error": "no_network_config"}.
Request body
The body is a bare JSON array of records, not a wrapper object:
[
{
"time": "2026-07-09T14:31:42Z",
"ground_station_id": "gs-1",
"ground_antenna_id": "ant-1",
"satellite_id": "sat-1",
"contact_id": "pass-0042",
"fields": { "elevation_deg": 22.8, "c_n0_dbhz": 62.4, "carrier_locked": true }
}
]
| Field | Required | Description |
|---|---|---|
time | yes | ISO 8601 datetime. A value without an offset is read as UTC. |
ground_station_id | yes | Must own ground_antenna_id in your network config. |
ground_antenna_id | yes | An antenna in your network config. |
satellite_id | yes | A satellite in your network config. |
radio_id | no | One of the satellite's radios in your network config. Name it when the satellite has more than one carrier, and send it on all of a link's records or on none. A link with both is two series. |
contact_id | no | 1 to 128 characters. |
dataset | no | live, audit or sim. Leave it out for live telemetry. |
fields | at least one | Only the fields below, with the listed type. |
The station, antenna, satellite and radio IDs are 1 to 64 characters of letters, digits, ., _ and -. Any other key, including a tenant, is rejected. The tenant always comes from the API key; see Tenant isolation.
Fields
| Antenna fields | Type |
|---|---|
azimuth_deg, elevation_deg, tracking_error_az_deg, tracking_error_el_deg | number |
range_m (one-way), range_rate_m_s | number |
track_mode | string |
| Carrier fields | Type |
|---|---|
carrier_locked, subcarrier_locked, symbol_locked, frame_locked | boolean |
c_n0_dbhz, es_n0_db, rx_power_dbm, frequency_ghz, carrier_offset_hz | number |
frames_delivered, frames_good (cumulative since the pass started) | integer |
uplink_status | string |
modcod (the carrier's current MODCOD as the modem names it, such as QPSK 1/4) | string |
tx_power_dbm, system_noise_temp_k, noise_power_dbm, and ber and per (ratios over the reporting interval, not cumulative counts) | number |
noise_diode_on | boolean |
| Contact fields | Type |
|---|---|
bytes_delivered (0 or more) | integer |
contact_status (ok, failed or missed) | string |
los_utc (ISO 8601 with a UTC offset, after the record's time) | string |
A bad contact field refuses the whole batch with 422. A contact record's time is its AOS, the start of the pass, and los_utc its end.
A number no real link reaches rejects its record as out_of_range, naming the field; it is most often a value sent in the wrong unit. The bounds are inclusive:
| Field | Range |
|---|---|
elevation_deg | -90 to 90 |
azimuth_deg | -360 to 360 |
tracking_error_az_deg, tracking_error_el_deg | -180 to 180 |
range_m, frames_delivered, frames_good | 0 or more |
c_n0_dbhz | -100 to 200 |
es_n0_db | -100 to 100 |
rx_power_dbm, noise_power_dbm | -300 to 100 |
tx_power_dbm | -100 to 100 |
system_noise_temp_k | 0 to 10,000,000 |
ber, per | 0 to 1 |
frequency_ghz | above 0 up to 300 for a radio, or 100,000 to 1,000,000 for an optical link, so a frequency sent in MHz is refused |
Each record is checked on its own. A record that names an ID outside your network config, has a field of the wrong type, or holds a value that cannot be stored is not written, and the rest of the batch is. An unknown field is dropped from its record, which is still written if it has another field. Only when no record passes is the request refused, with the first problem and a list of every one:
{
"error": "invalid_input",
"index": 0,
"field": "satellite_id",
"reason": "not_in_network_config",
"rejections": [{ "index": 0, "field": "satellite_id", "reason": "not_in_network_config" }]
}
reason is not_in_network_config, not_at_ground_station (on ground_antenna_id: an antenna of another of your ground stations), unknown_field, wrong_type, invalid (a number that is not finite, an integer too large to store, or a line break in a string), out_of_range (a value outside the bounds above), no_known_fields or implausible_timestamp.
Response: 202 acknowledgment
A 202 response reports acceptance and rejection counts:
{
"write_id": "8c41f2ae-5d0b-4c7e-9a51-3e2f6b7d9c10",
"accepted_count": 118,
"rejected_count": 2,
"rejected_indices": [4, 87],
"rejections": [
{ "index": 4, "field": "satellite_id", "reason": "not_in_network_config" },
{ "index": 87, "field": "c_n0_dbhz", "reason": "wrong_type" }
]
}
| Field | Description |
|---|---|
write_id | Server identifier for this write; log it for support and reconciliation. |
accepted_count | Records written to the store. |
rejected_count | Records not written. A record that only lost an unknown field is written and not counted. |
rejected_indices | Zero-based indices into your submitted array, or null when nothing was rejected. |
rejections | Every problem found, as {index, field, reason}, including an unknown field dropped from a record that was written, or null when there are none. |
Records with timestamps before 2000-01-01T00:00:00Z, or more than 5 minutes after the ingest time, are rejected one by one. Each is listed in rejected_indices, with {field: "time", reason: "implausible_timestamp"} in rejections, and none of it is written. Records stamped up to 5 minutes in the future are shifted back by the latest one's overshoot, series by series, older records in that series included. They keep their order and spacing, and the latest lands at the ingest time. A series with no record in the future is not moved. gRPC writes do the same.
The API answers 202 after the store confirms the write.
Handling partial rejection
A 202 with rejected_count > 0 means part of the batch was not written. Resending accepted records rewrites the same points, so it does no harm, but only the corrected records need to go again:
- Map
rejected_indices, or theindexof each entry inrejections, back to the records you sent. - Correct the rejected records.
- Resubmit only the corrected records.
Limits
| Limit | Value | Error |
|---|---|---|
| Records per batch | 1,000 | 413 {"error": "batch_too_large", "max": 1000, "received": N} |
| Body size | 1 MiB | 413 {"error": "request_too_large", "max_bytes": 1048576, "received_bytes": N} |
Content-Length | required | 411 {"error": "length_required"} |
Request-rate limits and retry rules are in Errors and limits. For a worked write and read-back, see Ingest telemetry.
Replaying a write
Writes take no idempotency key, but a point is stored by its series, timestamp and field, so replaying a batch rewrites the same points instead of adding duplicates. Two things differ on a replay: a record whose time was up to 5 minutes in the future was shifted back with the other records of its series in that batch, the latest to the ingest time, so they land at new times (one further ahead was rejected, and is rejected again), and the replayed points are counted again on the Usage page. For when to retry, see the retry guidance.
Errors
| Status | Body | Cause |
|---|---|---|
400 | {"error": "invalid_input", "index": N, "field": "<field>", "reason": "<reason>", "rejections": [...]} | No record in the batch passes. index, field and reason describe the first problem, and rejections lists every one. When at least one record passes, the answer is 202. |
400 | {"error": "field_type_conflict", "field": "<field>", ...} | The field was written before with a different type. Send the original type or use a new field name, and reconcile any partial write. |
401 / 403 | auth_failed / insufficient_scope | Key invalid, or the key lacks telemetry:write. See Authentication. |
403 | {"error": "sandbox_read_only"} | A test key attempted a write. |
403 | {"error": "account_disabled"} | The account is disabled. Contact support. |
409 | {"error": "no_network_config"} | The account has no network config yet. Upload one with PUT /topology/config. |
411 / 400 | length_required / invalid_content_length | Content-Length missing or invalid. |
413 | batch_too_large or request_too_large | Over the batch or body cap; split and resend. |
422 | {"error": "validation_error", "detail": [...]} | A record does not match the schema, such as a missing or malformed ID, an extra key, a bad time, no fields, or a bad contact field. The whole batch is refused. |
429 | rate_limited or auth_lockout | See Errors and limits. |
503 | {"error": "telemetry_unavailable", "upstream": "influx", "retry_after_seconds": 5} | The store is temporarily unavailable. Retry after retry_after_seconds; see Replaying a write. |
503 | {"error": "entitlement_unavailable"} | The account's plan could not be read, so nothing was written. Retry with backoff. |
Pass log uploads answer the same account_disabled and entitlement_unavailable.
Read telemetry
Both reads need scope topology:read. Filter either one with repeated ground_station_id, ground_antenna_id, and satellite_id query parameters.
GET /topology/series?start=...&end=...returns raw records for at most one hour. For a longer span, passinterval(15s to 1h) andagg(mean,min,max, orlast; defaultmean). Usefieldto pick fields. Aggregation drops booleans and strings.GET /topologyreturns the newest value of each field per antenna and satellite.topology:readis enough for that; itsconfigis filled only when the key also hasconfig:read,config:write, orworkflows:write, and isnullotherwise. See Topology.
Pass logs
POST /telemetry/pass-logs takes a CSV of flown passes and writes them into the audit dataset. Columns, in any order: satellite_id, antenna_id, aos_utc, los_utc, bytes_delivered, status. IDs are checked against your network config. Scope telemetry:write.
curl -sS -X POST \
-H "x-api-key: $CONSTELLATION_API_KEY" \
-H "Content-Type: text/csv" \
--data-binary @passes.csv \
"https://api.constellation.space/telemetry/pass-logs"
The response is the same 202 acknowledgment. Uploading the same log again rewrites the same points rather than adding them twice. A log of more than 1,000 rows is refused with 413 batch_too_large. A log with a bad row writes nothing and returns 422 {"error": "invalid_pass_log", "problems": [...]}, one problem per bad row. A contact is one satellite, antenna and aos_utc; a row that logs a contact again is a duplicate_contact problem whose of_row names the first. An audit reads every logged contact that overlaps its window, including one already under way when the window opens, as long as it is no longer than the window. A problem naming an unknown antenna or satellite carries the ID as value: {"row": 4, "error": "unknown_antenna", "value": "ksat-svb-1"}. With no network config, the response is 404 {"error": "no_network_config"}. Load or build a fleet before uploading.
Sample pass log
GET /telemetry/pass-logs/demo-sample returns a pass log CSV for an account whose network config holds the demo fleet. It covers the past 7 days for NOAA 21 (norad-54234, Ka band) and Sentinel-2C (norad-60989, X band), within what one Explore audit run covers, with one or more rows inside each pass an audit-ledger run of that week computes. A pass the rain-fade-swap template puts at risk, or one its station's maintenance takes down, is logged as failed. One that rises while its antenna is still on another pass is missed. Of the rest, a pass whose modem drops out is logged short, every 25th is left out of the log, and the others delivered. Upload it as is with POST /telemetry/pass-logs. Scope telemetry:write. An account whose fleet is its own answers 409 {"error": "not_demo_fleet"}, one with no network config 404 {"error": "no_network_config"}, and a deployment with workflows off 404 {"error": "workflows_not_enabled"}.
curl -sS -H "x-api-key: $CONSTELLATION_API_KEY" \
"https://api.constellation.space/telemetry/pass-logs/demo-sample" -o pass-log-sample.csv
Files in other formats go to Telemetry files.
gRPC ingest
TelemetryIngest.Write in package constellation.ingest.v2 takes the same records as POST /telemetry, checked against the same network config. It is a unary call.
message TelemetryRecordV2 {
int64 time_unix_nanos = 1;
string ground_station_id = 4;
string ground_antenna_id = 2;
string satellite_id = 3;
optional string contact_id = 5;
map<string, FieldValue> fields = 6; // oneof double, int64, string, bool
optional string radio_id = 7; // one of the satellite's radios
}
gRPC records take no dataset.
REST POST /telemetry | gRPC TelemetryIngest.Write | |
|---|---|---|
| Auth | x-api-key header, scope telemetry:write | x-api-key request metadata, any live key with telemetry:write; a test key is refused |
| Records per call | 1,000 | Set per environment |
| Invalid record | Not written; listed in rejections of the 202. 400 invalid_input only when no record passes | Not written; listed in WriteResponse.rejections. INVALID_ARGUMENT, invalid_input:<field>:<reason>, only when no record passes |
| Acknowledgment | After the store write | After the batch is buffered, before it is stored |
A gRPC acknowledgment means the server buffered the batch. Buffered records can be lost if the server fails before writing them, and a record the store later rejects, such as one with a conflicting field type, is dropped without an error to the client. Check delivery with GET /topology when persistence matters. The HTTP lockout and rate limits do not apply to gRPC.
| Status | Meaning |
|---|---|
INVALID_ARGUMENT | No record in the call passes the record rules. Nothing is written; fix the payload. Not retryable. When some records pass, the call succeeds and rejections names the rest. |
FAILED_PRECONDITION | no_network_config. The account has no network config yet. |
UNAUTHENTICATED | Missing or invalid API key. |
PERMISSION_DENIED | insufficient_scope:telemetry:write (the key lacks the scope), sandbox_read_only (a test key) or account_disabled (contact support). Not retryable. |
RESOURCE_EXHAUSTED | batch_too_large (split and resend) or ingest_buffer_full (back off, then resend the same payload). |
UNAVAILABLE | auth_unavailable, entitlement_unavailable, network_config_unavailable, or write_unavailable. Back off before retrying. |
TelemetryIngest.Health takes no API key. Do not branch on its ok field, which is always true. An unhealthy server fails the call with UNAVAILABLE instead, so a health check must catch the RPC error rather than read the body.
The endpoint is ingest.api.constellation.space:443, TLS and HTTP/2 only, with no plaintext port. See Environments.
Related
- Topology: how ingested records surface as fleet state.
- Ingest telemetry example: write and verify a current sample.
- Fleet agent: collect and deliver telemetry from your host.
- Satellite and ground station telemetry API: the three ways in, side by side.
Next: Predictions, which forecast from ingested telemetry.