Skip to main content
GET
Get User Weights

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

X-Namespace
string
header
required

Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.

Path Parameters

retriever_id
string
required
user_id
string
required

Response

Successful Response

Per-user learned fusion weights for a retriever.

user_id
string
required

The user identifier.

context_level
string
required

Active context level: personal, demographic, or global.

interaction_count
integer
required

Number of interactions recorded for this user.

personal_weights
Personal Weights · object
required

User's personal fusion weights keyed by feature_uri.

global_weights
Global Weights · object
required

Global fusion weights for comparison, keyed by feature_uri.

alpha_beta
Alpha Beta · object
required

Raw alpha/beta parameters per feature_uri.

source
string | null

Which store served the weights: 'signals' (the namespace's _signals collection) or 'clickhouse' (analytics fallback).

warning
string | null

Set when the response contains fallback defaults due to an internal error.

hint
string | null

Set when learned fusion is NOT configured for this retriever — the payload is a well-formed empty state and this explains how to enable learning.