Public Apps API
Track an App interaction event
Changed onRecord a user interaction event for a public App — no authentication required.
Interaction events are written to the app_interactions collection for analytics and relevance tuning. Write errors are swallowed server-side so that a transient storage failure never surfaces as an error to the caller.
Example:
{
"event_type": "click",
"document_id": "doc_abc123",
"position": 2,
"query": "red sneakers",
"session_id": "sess_xyz"
}
post/v1/public/apps/{slug}/interactions
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/public/apps/{slug}/interactions
- Auth: none required
Path parameters
slugstring required
Globally unique app slug
Request body
Response
Acknowledgement that the event was recorded
object required
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning