v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBPublic Retriever API
Execute Public Retriever
Execute 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}
}'
post/v1/public/retrievers/{public_name}/execute
Path parameters
public_namestring required
Public name of the published retriever
Public name of the published retriever
Query parameters
return_presigned_urlsboolean
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.
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
X-Public-API-Keystring nullable
X-Retriever-Passwordstring nullable
Request body
Example request
{
"description": "Simple query",
"inputs": {
"query": "artificial intelligence trends",
"top_k": 25
}
}Response
Successful Response
{"stackTrail":"paths:/v1/public/retrievers/{public_name}/execute:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}