Skip to main content
GET
/
api
/
runtime-security
/
drift
Population Stability Index per dimension
curl --request GET \
  --url https://api.antidote.example.com/api/runtime-security/drift \
  --header 'X-API-Key: <api-key>'
{
  "baseline": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z",
    "total_events": 123
  },
  "recent": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z",
    "total_events": 123
  },
  "dimensions": [
    {
      "name": "<string>",
      "label": "<string>",
      "psi": 123,
      "baseline_distribution": {},
      "recent_distribution": {}
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Antidote workspace API key (ak_live_…). Use this header for the scan API and the OpenAI proxy routes. The required permission scope is runtime_security.scan for scan endpoints, runtime_security.view for read-only analytics, and runtime_security.manage for configuration changes.

Query Parameters

baseline_days
integer
default:30
Required range: 1 <= x <= 365
recent_days
integer
default:7
Required range: 1 <= x <= 90

Response

200 - application/json

Drift report

baseline
object
recent
object
dimensions
object[]