Skip to main content
POST
/
v1
/
models
/
{model_id}
/
patterns
/
{tracker_id}
/
distribution
Distribution Patterns
curl --request POST \
  --url https://api.example.com/v1/models/{model_id}/patterns/{tracker_id}/distribution \
  --header 'Content-Type: application/json' \
  --data '
{
  "samples": [
    [
      123
    ]
  ],
  "feature_names": [
    "<string>"
  ]
}
'
{
  "match_rate": {}
}

Headers

authorization
string | null
refresh-token
string | null

Path Parameters

model_id
string<uuid>
required
tracker_id
string
required

Body

application/json

Body shared by /transform, /distribution, and /partition.

samples
((number | string | boolean | null)[])[]
required

2D array, shape (n_samples, n_features). Cells may be numeric, string (categorical), or bool.

feature_names
string[]
required

Column names. Must include every column the tracker's frozen schema requires (extras are ignored).

Response

Successful Response

Per-pattern match rate over the supplied samples.

match_rate
Match Rate · object
required