Orbital and historical telemetry
Current orbital state through GSM
Use telemetry orbit to read the latest complete simulated orbital observation.
No workload is required. All requests go through your configured GSM endpoint;
this ground-only feature remains available outside satellite contact in both
REAL and DEV modes. It does not use DEV permission to bypass onboard gates.
The GSM deployment must support orbital telemetry and have ground authentication
configured. Otherwise the CLI reports that an operator upgrade or configuration
is required.
From the repository root, using your assigned username and Tenant ID:
omnicloud-cli --endpoint https://ground.public.dphispace.com \
telemetry orbit
Inside the authenticated CLI workspace:
telemetry orbit
telemetry orbit --watch
telemetry orbit --json
telemetry orbit --watch --json
The default command prints one snapshot. Watch polls once per second in a foreground view; Ctrl+C stops it and returns to the prompt, or exits a standalone watch successfully. Telemetry reads are separate from the onboard command queue: an onboard command waiting for contact does not block orbital access. Already queued onboard work can continue while the foreground view is open.
--json prints one JSON object for a snapshot and one object per line during
watch. It can also precede the resource name for standalone commands.
| Value | Meaning |
|---|---|
observation.run_id | Simulator run identity; observations from different runs are never combined. |
observation.simulation_time | Source observation time, RFC 3339 UTC; this is simulation time, not workstation time. |
observation.frame | Cartesian vector reference frame. The current SGP4 backend emits TEME, despite the legacy topic name containing icrf. |
observation.position_km | Cartesian x, y, z position in km. |
observation.velocity_km_s | Cartesian x, y, z velocity in km/s in the same frame. |
observation.latitude_deg, longitude_deg, altitude_km | Ground location: angles in degrees and altitude in km. |
age_seconds | Wall-clock seconds since GSM received the latest complete orbital observation. |
status | current, stale or unavailable. |
Ground position and vectors must share a source timestamp and run identity. An observation is stale immediately on feed disconnection, or after five seconds without a newer complete observation by default. Duplicate observations do not refresh freshness. A paused simulation can therefore show stale data even while the stream remains connected.
Stale observations remain visible with their original simulation timestamp;
the CLI never extrapolates them. Before a complete observation exists, or after
a simulator run change until a new complete observation arrives, observation
is null and status is unavailable. If GSM becomes unreachable during watch,
the last displayed observation is marked stale and polling continues. Login or
authorization failures stop the command; a failed one-shot request exits with an
error. A successful stale or unavailable snapshot is still a valid response.
All authenticated customers on the same GSM endpoint see the same satellite's orbital state. Normal customer token validation and the expected Tenant ID still apply. This is simulator truth for observation, not received flight telemetry, subsystem health, an orbit prediction, or historical metrics.
Query historical telemetry
Call the telemetry API from a workload using the authentication pattern in Call OmniCloud APIs from a workload.
For a complete workload, follow the
historical telemetry example. It queries the
historical battery percentage and recent Customer Controller logs, then saves
both responses to /data.
Available query types
| Purpose | Method and path |
|---|---|
| Legacy recent snapshot | GET /telemetry/api/v1/telemetry/snapshot |
| Instant metric query | GET /telemetry/api/v1/telemetry/metrics |
| Range metric query | GET /telemetry/api/v1/telemetry/metrics/range |
| Instant LogQL metric expression | GET /telemetry/api/v1/telemetry/logs |
| Log stream over a time range | GET /telemetry/api/v1/telemetry/logs/range |
Prefix these paths with https://api.dphi.space.
Notes
- Metric queries use PromQL.
- Log queries use LogQL.
- Metric range queries require
start,end, andstep. - Log range queries require
startandend;stepis optional. - Log limits range from 1 to 1000 and default to 100.
- Empty results are valid.
- Historical samples can arrive late or be duplicated.
The response is the underlying metrics or logging system's JSON response. Your workload must handle empty results, service errors, delayed samples, and duplicate samples.
Time and retention
Metric and log query timestamps use the telemetry system's time axis. For
image alignment, use the image's acquired_at and a mission timestamp from the
same simulator run. Current orbital observations expose mission time as
observation.simulation_time. Historical telemetry can carry mission time
separately in an observed_at_epsec series. Convert the values to the same time
representation before comparing them. See
Image timestamps.
Metrics are currently retained for 15 days. Log retention is not defined by
this documentation, and logs can be lost before collection during runtime
rotation or node loss. Store important reports in /data and retrieve them.
The snapshot endpoint is a lossy legacy reconstruction with a short lookback. It can omit stale values and cannot reconstruct arbitrary strings. Prefer purpose-built service status endpoints for current operation state.
Predicted ground visibility
When enabled for your environment, the interactive CLI shows a second status line with the next S-band and X-band visibility windows in simulation time (UTC). Predictions refresh automatically after sign-in, including while operations wait for connectivity or transfer capacity. Forecast requests reuse the session token-refresh handler. Unavailable forecasts show a reason beside the band queue. In REAL mode, fetching a new forecast requires an GEO ISL connection and your existing pass-prediction permission. Cached forecasts remain readable outside contact. If a forecast is missing, expired, or unavailable to your account, the line shows “estimate unavailable”. Narrow terminals shorten the details.
A predicted window means the spacecraft is geometrically visible from a ground station. It does not guarantee that the radio is powered, correctly pointed, or available for your request. Both bands can share the same visibility window. Observed usable contact determines when data can move; earlier requests in the FIFO queue may use that capacity, and a large file may require multiple passes. The displayed window is therefore not a transfer-completion estimate.