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.
Path parameters
Section titled “Path parameters”clientIdstringrequired
Client ID issued by the customer’s ORION environment (an opaque identifier beginning with osc_)
Query parameters
Section titled “Query parameters”daysintegerdefault: 90
Window size in days (1–365). Defaults to 90.
Response fields
Section titled “Response fields”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).
Example
Section titled “Example”curl "https://api.overspace.io/orion/v1/customers/osc_x7k2q9_9f8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d/trend?days=30" \ -H "x-api-key: your-api-key"{ "clientId": "osc_x7k2q9_9f8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d", "trend": [ { "scoreDate": "2026-03-18", "score": 68 }, { "scoreDate": "2026-03-17", "score": 67 }, { "scoreDate": "2026-03-16", "score": 67 }, { "scoreDate": "2026-03-15", "score": 65 } ]}