POST
/
projects
/
{project_id}
/
runs
/
{run_id}
/
split
/
{split}
/
insights
/
distribution

Authorizations

Galileo-API-Key
string
headerrequired

Path Parameters

project_id
string
required
run_id
string
required
split
enum<string>
required
Available options:
training,
validation,
test,
inference

Query Parameters

inference_name
string
default:
scope
string | null
default:

Body

application/json
task
string | null
filter_params
object
compare_to
enum<string> | null
Available options:
training,
validation,
test,
inference
map_threshold
number
default: 0.5
meta_cols
string[] | null
col
string
required
nbins
integer
default: 20
limit_min
integer | null
limit_max
integer | null
remove_outliers
boolean
default: false
include_metrics
boolean
default: false

Response

200 - application/json
bins
number[]
required
counts
integer[]
required
metrics
object | null

Metrics for a cohort returned in columnar format.

Each field in the class is of equal length (or len 0), mapping to the y-axis of each chart. The labels field contains the x-axis labels which apply to all y-axes for all charts created for this data.

ex: labels: ["apple", "banana", "orange"] precision: [0.95, 0.55, 0.83] recall: [0.93, 0.25, 0.88] ...