Skip to main content

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 }
}
]
FieldRequiredDescription
timeyesISO 8601 datetime. A value without an offset is read as UTC.
ground_station_idyesMust own ground_antenna_id in your network config.
ground_antenna_idyesAn antenna in your network config.
satellite_idyesA satellite in your network config.
radio_idnoOne 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_idno1 to 128 characters.
datasetnolive, audit or sim. Leave it out for live telemetry.
fieldsat least oneOnly 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 fieldsType
azimuth_deg, elevation_deg, tracking_error_az_deg, tracking_error_el_degnumber
range_m (one-way), range_rate_m_snumber
track_modestring
Carrier fieldsType
carrier_locked, subcarrier_locked, symbol_locked, frame_lockedboolean
c_n0_dbhz, es_n0_db, rx_power_dbm, frequency_ghz, carrier_offset_hznumber
frames_delivered, frames_good (cumulative since the pass started)integer
uplink_statusstring
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_onboolean
Contact fieldsType
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:

FieldRange
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_good0 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_k0 to 10,000,000
ber, per0 to 1
frequency_ghzabove 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" }
]
}
FieldDescription
write_idServer identifier for this write; log it for support and reconciliation.
accepted_countRecords written to the store.
rejected_countRecords not written. A record that only lost an unknown field is written and not counted.
rejected_indicesZero-based indices into your submitted array, or null when nothing was rejected.
rejectionsEvery 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:

  1. Map rejected_indices, or the index of each entry in rejections, back to the records you sent.
  2. Correct the rejected records.
  3. Resubmit only the corrected records.

Limits​

LimitValueError
Records per batch1,000413 {"error": "batch_too_large", "max": 1000, "received": N}
Body size1 MiB413 {"error": "request_too_large", "max_bytes": 1048576, "received_bytes": N}
Content-Lengthrequired411 {"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​

StatusBodyCause
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 / 403auth_failed / insufficient_scopeKey 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 / 400length_required / invalid_content_lengthContent-Length missing or invalid.
413batch_too_large or request_too_largeOver 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.
429rate_limited or auth_lockoutSee 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, pass interval (15s to 1h) and agg (mean, min, max, or last; default mean). Use field to pick fields. Aggregation drops booleans and strings.
  • GET /topology returns the newest value of each field per antenna and satellite. topology:read is enough for that; its config is filled only when the key also has config:read, config:write, or workflows:write, and is null otherwise. 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 /telemetrygRPC TelemetryIngest.Write
Authx-api-key header, scope telemetry:writex-api-key request metadata, any live key with telemetry:write; a test key is refused
Records per call1,000Set per environment
Invalid recordNot written; listed in rejections of the 202. 400 invalid_input only when no record passesNot written; listed in WriteResponse.rejections. INVALID_ARGUMENT, invalid_input:<field>:<reason>, only when no record passes
AcknowledgmentAfter the store writeAfter 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.

StatusMeaning
INVALID_ARGUMENTNo 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_PRECONDITIONno_network_config. The account has no network config yet.
UNAUTHENTICATEDMissing or invalid API key.
PERMISSION_DENIEDinsufficient_scope:telemetry:write (the key lacks the scope), sandbox_read_only (a test key) or account_disabled (contact support). Not retryable.
RESOURCE_EXHAUSTEDbatch_too_large (split and resend) or ingest_buffer_full (back off, then resend the same payload).
UNAVAILABLEauth_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.

Next: Predictions, which forecast from ingested telemetry.