post
https://api.superwise.ai/v1/metrics/distribution-multi
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Runs several distribution comparisons in one request. Each item in the array is a pair of queries, query_a and query_b, as in Compare two distributions.
When to use it
Use it to check drift on several fields at once instead of sending one request per field.
Required parameters
- Request body: a JSON array of objects, each with
query_aandquery_b.
Response
A successful call returns 200 OK with a JSON array of results, one per pair, each with frequencies_a, frequencies_b, jensen_shannon_divergence, and wasserstein_distance.
Related: Compare two distributions, Calculate several performance metrics
422Unprocessable Entity
500Internal Server Error