Authorizations
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.
Headers
ETag for cache validation
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'
Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.
Path Parameters
The ID or name of the retriever.
Body
The retriever query request.
Identifier of the retriever to execute. If omitted, the execution context must provide it.
Input values for the retriever query. If omitted, mock embeddings will be generated based on the feature's dimensions for testing purposes.
Optional list of collection IDs to search. If provided, overrides the retriever's default collections. Useful for dynamically filtering which collections to search at query time.
Optional list of collection names to search. If provided, collection names will be resolved to IDs and merged with collection_ids. Allows referencing collections by human-readable names.
Logical operations for filtering results. Can include AND, OR, NOT conditions with field comparisons. Represents a logical operation (AND, OR, NOT) on filter conditions.
Allows nesting with a defined depth limit.
Also supports shorthand syntax where field names can be passed directly as key-value pairs for equality filtering (e.g., {"metadata.title": "value"}).
Controls the ordering of results. Can sort by score (default) or any other document field. This sorts the results from the last stage.
Maximum number of results to return. Overrides the default pagination limit in the retriever definition.
1 <= x <= 100
Number of results to skip. Use with limit for pagination. For large offsets, consider using session_id for cursor-based pagination.
x >= 0
Specific fields to include in the response. If not specified, returns all fields.
Session identifier for interaction tracking.
When true, generates pre-signed URLs for any media assets in the results. May increase response time slightly.
Options for grouping results by a specific field. Options for grouping results by a specific field.
Attributes: field: The field to group by. max_features: The maximum number of features (documents) to return per group. sort: Optional sorting options to apply within each group.
Response
Successful Response
Response from a retriever execution.
Unique identifier for the retriever execution
Total execution time of the retriever pipeline.
Results from each stage of the retriever pipeline.
Final sorted and paginated results of the retriever execution.
- DocumentResult
- GroupedResultItem