List interactions with optional filters and pagination.
Supports hybrid filtering: simple fields + advanced LogicalOperator.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings. REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
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' 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'
Request for listing interactions with filters.
Supports both simple field filters (for common queries) and advanced LogicalOperator filters (for complex analytics). This hybrid approach follows the same pattern as the Tasks module.
Common Queries (Simple Fields): - Filter by execution: {"execution_id": "exec_abc"} - Filter by session: {"session_id": "sess_xyz"} - Filter by user: {"user_id": "user_123"}
Advanced Queries (LogicalOperator): - Range queries: {"filters": {"position": {"lte": 5}}} - Complex logic: {"filters": {"AND": [...]}} - Time ranges: {"filters": {"created_at": {"gte": "2025-01-01"}}}
Filter by retriever execution ID. Most common query: find all interactions from a specific search execution. Example: 'exec_abc123'
"exec_abc123"
Filter by retriever ID. Compare performance across different retriever configurations. Example: 'ret_product_search_v2'
"ret_product_search"
Filter by session ID. Track user journey across multiple searches within a session. Example: 'sess_xyz789'
"sess_abc123"
Filter by user ID. Analyze behavior of specific users for personalization insights. Example: 'user_456'
"user_abc123"
Filter by feature/document ID. Find all interactions with a specific document across all searches. Example: 'doc_abc123'
"doc_abc123"
Filter by interaction type. Use to find specific behaviors like clicks, purchases, or feedback. Example: 'click', 'positive_feedback'
"click"
Advanced filters using LogicalOperator for complex analytics queries. Supports shorthand syntax and complex AND/OR/NOT logic. Use this for: range queries, complex conditions, metadata filtering. Examples: - Position range: {'position': {'lte': 5}} - Time range: {'timestamp': {'gte': '2025-01-01'}} - Complex: {'AND': [{'field': 'position', 'operator': 'lte', 'value': 5}, {'field': 'interaction_type', 'operator': 'in', 'value': ['click', 'purchase']}]} See LogicalOperator documentation for full syntax.
{ "position": { "lte": 5 } }
Sort options for ordering results. Default: timestamp descending (newest first). Examples: - Sort by timestamp: {'field': 'timestamp', 'direction': 'desc'} - Sort by position: {'field': 'position', 'direction': 'asc'}
{ "direction": "desc", "field": "timestamp" }
Full-text search across metadata fields. NOT REQUIRED. Use to search interaction metadata content.
"mobile device"
Successful Response
Response for listing interactions with pagination.
Returns a paginated list of interaction records matching the query filters.