Get drift calculator configuration
The response's `values.dcinfo` field is a `DriftCalculatorInfo`.
The response's values.dcinfo field is a DriftCalculatorInfo.
Authorization
SymetryMLAuth HMAC-SHA256 signature-based authentication: requests are signed with
your secret key and sent with the Customer-ID, Sym-date,
Authorization, Content-MD5 and sym-version headers.
See SymetryML REST API Security
for the signature algorithm and a complete example.
In: header
Path Parameters
User/Customer identifier
Drift calculator identifier
Response Body
application/json
application/json
curl -X GET "https://example.com/c1/driftCalculator/dc1/info"{ "statusCode": 200, "statusString": "info returned", "values": { "dcinfo": { "inputAttributes": [ "http_client_request_duration_seconds__mean__success", "rpc_server_duration_milliseconds__p99__success" ], "driftParameters": { "drift_threshold_type": "std", "drift_update_reference": "false", "prefix": "drift", "drift_max_reference_update": "0", "drift_delete_on_cleanup": "true" }, "mahalanobisParameters": { "drift_metric": "mahalanobis", "drift_pca_explained_var": "0.95", "drift_sensitivity": "strict", "drift_force_spd": "false", "drift_do_pca": "true", "drift_confidence": "0.95", "drift_regularize": "false", "drift_do_frobenius": "false", "drift_filter_for_rank": "false" }, "pcaRecParameters": { "drift_metric": "pca_reconstruction_error", "drift_pca_explained_var": "0.65", "drift_sensitivity": "strict", "drift_z_threshold": "2.0", "drift_min_cov": "1e-8" } } }}{ "statusCode": 500, "statusString": "Generic Exception [java.lang.NullPointerException: Cannot invoke \"com.sml.drift.DriftCalculatorAPI.getInfo()\" because \"dc\" is null]", "values": {}}Fit a drift calculator against reference projects POST
The request body is a `StringList` of reference project names. The response's `values.dcfitresult` field is a `DriftCalculatorFitResult`: - **`scoreThresholdValues`**: one 4-element array per reference project, ordered `[pcaScore, pcaThreshold, mahalanobisScore, mahalanobisThreshold]`. The two thresholds are identical across all entries (they describe the fitted calculator, not the individual project). - **`featuresUse`**: only populated when a feature subset is in play; omitted otherwise.
Create a drift calculator POST
Creates a named drift calculator that can later be fit against reference projects (`/fit`) and used to score other projects (`/calculate`). The request body is an inline object (not a named schema) carrying up to three independent `MLContext` configurations — one per drift metric the calculator should support — each keyed by metric name. All three are optional; omit any metric this calculator will not be used for. The response's `values.string` field is a plain string (the new drift calculator's id), not a named schema.