POST
/
features
/
search
/
interactions

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. Example: 'netflix_prod' or 'spotify_recs_dev'. To create a namespace, use the /namespaces endpoint.

Body

application/json
feature_id
string
required

ID of the item that was interacted with

interaction_type
enum<string>
required

Type of interaction or feedback

Available options:
view,
click,
positive_feedback,
negative_feedback
search_request
object | null

The search request that led to this interaction

position
integer | null

Position in search results where interaction occurred

metadata
object | null

Additional context about the interaction

session_id
string | null

Search session identifier

Response

200 - application/json
feature_id
string
required

ID of the item that was interacted with

interaction_type
enum<string>
required

Type of interaction or feedback

Available options:
view,
click,
positive_feedback,
negative_feedback
interaction_id
string
required

Unique identifier for this interaction

search_request
object | null

The search request that led to this interaction

position
integer | null

Position in search results where interaction occurred

metadata
object | null

Additional context about the interaction

session_id
string | null

Search session identifier