Execute Public Retriever
Changed onExecute a published retriever (public endpoint).
Authentication:
- API key is OPTIONAL for public retrievers
- Supports: no key, prk_ keys (deprecated), or ret_sk_ keys
- If password-protected, requires X-Retriever-Password header
Rate Limiting:
- Subject to per-retriever rate limits (per minute/hour/day)
- May also have IP-based rate limits
Response:
- Only returns fields specified in exposed_fields configuration
- Internal metadata is stripped from results
- Includes execution_id for interaction tracking
- Presigned URLs returned by default (return_presigned_urls=true) for media rendering
Example (no API key - recommended for public access):
curl -X POST "https://api.mixpeek.com/v1/public/retrievers/video-search/execute" \
-H "Content-Type: application/json" \
-d '{
"inputs": {"query": "red car"},
"pagination": {"method": "offset", "page_number": 1, "page_size": 10}
}'
Example with ret_sk_ key (for SDK/programmatic access):
curl -X POST "https://api.mixpeek.com/v1/public/retrievers/video-search/execute" \
-H "X-Public-API-Key: ret_sk_abc123..." \
-H "Content-Type: application/json" \
-d '{
"inputs": {"query": "red car"},
"pagination": {"method": "offset", "page_number": 1, "page_size": 10}
}'
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/public/retrievers/{public_name}/execute
- Auth: none required
Path parameters
Public name of the published retriever
Query parameters
Generate fresh presigned download URLs for all blobs with S3 storage. Default: True for public retrievers to enable media rendering. Set to False if you only need metadata without URLs.
Headers
Request body
Example request
{
"description": "Simple query",
"inputs": {
"query": "artificial intelligence trends",
"top_k": 25
}
}Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
the
/request property's max was increased from100.00to500.00 - 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
- info
added the new optional request property
- info