Skip to main content
GET
/
v1
/
analytics
/
taxonomies
/
{taxonomy_id}
/
confidence
Get Confidence Distribution
curl --request GET \
  --url https://api.mixpeek.com/v1/analytics/taxonomies/{taxonomy_id}/confidence
{
  "taxonomy_id": "<string>",
  "distribution": [
    {
      "confidence_range": "<string>",
      "count": 123,
      "percentage": 123
    }
  ],
  "avg_confidence": 123,
  "low_confidence_count": 123
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

X-Namespace
string

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Path Parameters

taxonomy_id
string
required

Query Parameters

hours
integer
default:168
Required range: 1 <= x <= 720

Response

Successful Response

Taxonomy confidence distribution response.

taxonomy_id
string
required
distribution
ConfidenceDistribution · object[]
required
avg_confidence
number
required
low_confidence_count
integer
required

Count of assignments below 0.5 confidence