Skip to main content

Compute On Dataset

POST 

/v2/metrics/dataset/

Compute a metric on a single dataset sample.

Parameters:

  • metric: The metric name to compute.

Returns:

  • The computed metric value.

Raises:

  • HTTPException 400: If the dataset or sample is not found.
  • HTTPException 500: If there is an error computing the metric.

Request

Body

required

    metric Metric (string)required
    dataset Dataset (string)required
    uid Uid (string)required
    kwargs objectrequired

Responses

Successful Response

Schema

    any

Loading...