Retrievers
Get Execution
Changed onGet execution details and statistics.
get/v1/retrievers/{retriever_id}/executions/{execution_id}
Request
- Base URLhttps://api.mixpeek.com
- AuthHTTP bearer and API key in header X-Namespace
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
retriever_idstring required
Retriever ID or name.
execution_idstring required
Execution identifier.
Response
Successful Response
Example response
{
"retriever_id": "ret_abc123def456",
"execution_id": "exec_abc123def456",
"status": "completed",
"degraded": [
{
"resource": "taxonomy",
"id": "tax_abc123",
"reason": "not found in namespace",
"next_step": "Fix the taxonomy_id on the stage, or create the taxonomy."
}
],
"limits": [
{
"name": "final_top_k",
"requested": 2000,
"applied": 500,
"ceiling": 500
}
],
"documents": [
{
"document_id": "doc_123",
"payload": {
"metadata": {
"category": "AI"
},
"text": "Sample content"
},
"score": 0.95
},
{
"document_id": "doc_456",
"payload": {
"metadata": {
"category": "ML"
},
"text": "Another document"
},
"score": 0.88
},
{
"document_id": "moment_vid_A_12000",
"moments": [
{
"document_ids": [
"frame_41",
"frame_42",
"frame_43"
],
"duration_ms": 6500,
"end_ms": 18500,
"match_count": 3,
"score": 0.91,
"start_ms": 12000
}
],
"parent_id": "vid_A",
"score": 0.91
}
],
"pagination": {
"has_next": false,
"limit": 25,
"method": "cursor",
"returned": 25,
"total": 25
},
"budget": {
"credits_used": 0,
"llm_calls": 0,
"metering": "metered"
},
"error": "Retriever execution failed: Collection not found",
"optimization_applied": true,
"optimization_summary": {
"optimization_time_ms": 8.2,
"optimized_stage_count": 3,
"original_stage_count": 5,
"rules_applied": [
"push_down_filters",
"group_by_push_down"
],
"stage_reduction_pct": 40
}
}Changes
- info
added the optional property
to the response with the status
- info
- 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