LaserData Cloud
API Reference

Observability

Read node metrics, readiness, heartbeats, and logs

API Variables
ld-api-key
{tenant_id}

Set variables to auto-fill all examples and run requests in-browser.

Warden collects telemetry on each node. The platform retains it for the period included in the deployment tier. Use {supervisor_url} for these Supervisor API requests.

Reading requires deployment:telemetry:read. Changing retention requires deployment:telemetry:manage.

Runtime and Response Shapes

Runtime paths accept iggy, warden, connectors, plane, and available connector:{id} instances. Latest deployment metrics use a nodes map keyed by node ID. Each node maps runtime names to arrays of samples. A host array can contain virtual-machine metrics. Historical requests return paginated samples.

Runtime fields appear directly in each sample. Iggy can report leadership, view, voters, quorum, replication gaps, and repair state. Plane metrics include projector lag, decoding counters, replay readiness, ownership, fencing, and backend synchronization. See Monitoring.

Metrics

Get Deployment Metrics (Latest)

GET
{supervisor_url}/deployments/{deployment_id}/metrics

Retrieve the latest aggregate metrics snapshot for the deployment.

bash
curl {supervisor_url}/deployments/{deployment_id}/metrics \
-H "ld-api-key: YOUR_API_KEY"

Get Node Metrics (Latest)

GET
{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/metrics

Retrieve the latest node samples grouped by runtime, with host resources when available.

Get Node Metrics (Historical)

GET
{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/metrics/iggy

Retrieve paginated historical metrics for a specific node, with time range filtering.

bash
curl "{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/metrics/iggy?page=1&results=10&from=2026-01-01T00:00:00Z&to=2026-02-01T00:00:00Z" \
-H "ld-api-key: YOUR_API_KEY"
Query ParameterDescription
pagePage number (default 1)
resultsItems per page (default 10, max 100)
fromStart time (ISO 8601, inclusive)
toEnd time (ISO 8601, inclusive)

Readiness

GET
{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/readiness

Retrieve the latest serving readiness for a deployment node.

Readiness reports observed_at, agent_ready, iggy_ready, plane_ready, last_probe_at, and serving. Iggy and plane readiness can be unknown. A running process or recent heartbeat alone does not prove readiness to serve.

Heartbeats

Heartbeats report recent liveness. Use them to track uptime and detect restarts.

Get Deployment Heartbeats (Latest)

GET
{supervisor_url}/deployments/{deployment_id}/heartbeats

Retrieve the latest heartbeat snapshot for all nodes in the deployment.

bash
curl {supervisor_url}/deployments/{deployment_id}/heartbeats \
-H "ld-api-key: YOUR_API_KEY"

Get Node Heartbeats (Latest)

GET
{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/heartbeats

Retrieve the latest heartbeat status for all runtimes on a node.

Get Node Heartbeats (Historical)

GET
{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/heartbeats/iggy

Retrieve paginated historical heartbeat records for a specific node.

bash
curl "{supervisor_url}/deployments/{deployment_id}/nodes/{node_id}/heartbeats/iggy?page=1&results=10&from=2026-01-01T00:00:00Z&to=2026-02-01T00:00:00Z" \
-H "ld-api-key: YOUR_API_KEY"

Logs

Get Deployment Logs

GET
{supervisor_url}/deployments/{deployment_id}/logs/iggy

Stream or page through deployment logs with level, message, and time range filters.

bash
curl "{supervisor_url}/deployments/{deployment_id}/logs/iggy?page=1&results=10&level=any&message=*&from=2026-01-01T00:00:00Z&to=2026-02-01T00:00:00Z" \
-H "ld-api-key: YOUR_API_KEY"
Query ParameterDescription
pagePage number
resultsItems per page (max 100)
levelLog level: any, info, warn, error
messageGlob filter on message text (e.g. *connection*)
fromStart time (ISO 8601)
toEnd time (ISO 8601)

You can also send logs to an OpenTelemetry-compatible endpoint. See Monitoring for configuration.

On this page