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

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

Matching row indices (positional, into the request's samples) keyed by pattern label.

indices
Indices · object
required