Skip to main content

Examples

ExamplePurpose
Connection smoke testCheck service health and authenticated topology access.
Ingest telemetryWrite one current sample and read it back.

Common setup​

Run examples from a backend or integration host with curl and jq. Create a key on Integrations, API and MCP with the scopes each example names, or use your Enterprise credentials.

export CONSTELLATION_API_URL="https://api.constellation.space"
export CONSTELLATION_API_KEY="cos_live_..."

Replace the base URL for an Enterprise deployment. Keep the key out of source control and logs. See Authentication for scopes and Errors and limits for retry behavior.

Query examples for Topology and Predictions live with their endpoint references.