Skip to content

Get Score

GET/customers/{clientId}/score

Returns the latest calculated resilience score and grade for the customer identified by the Client ID.

clientIdstringrequired

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

clientIdstringrequired

The Client ID the score was retrieved for

scoreDatestringrequired

ISO calendar date the score corresponds to (YYYY-MM-DD, UTC)

scoreintegerrequired

Composite resilience score (0–100)

gradestringrequired

Action-oriented grade: Sustain, Optimize, Strengthen, Improve, or Prioritize

In addition to the authentication errors, this endpoint returns 404 SCORE_NOT_FOUND if no score has been calculated for the customer yet.

Terminal window
curl https://api.overspace.io/orion/v1/customers/osc_x7k2q9_9f8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d/score \
-H "x-api-key: your-api-key"