Skip to content

Get Trend

GET/customers/{clientId}/trend

Returns the score series over a window of days, newest-first. Use this to assess whether resilience is improving, stable, or degrading.

clientIdstringrequired

Client ID issued by the customer’s ORION environment (an opaque identifier beginning with osc_)

daysintegerdefault: 90

Window size in days (1–365). Defaults to 90.

clientIdstringrequired

The Client ID the trend was retrieved for

trendarrayrequired

Score series ordered newest-first. Each entry contains scoreDate (YYYY-MM-DD) and score (0–100).

Terminal window
curl "https://api.overspace.io/orion/v1/customers/osc_x7k2q9_9f8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d/trend?days=30" \
-H "x-api-key: your-api-key"