Get Adhoc Execution
Get detailed execution information for a specific ad-hoc retriever execution.
Returns comprehensive execution details including:
- Execution metadata (status, duration, credits used)
- Performance metrics (documents processed/returned, cache hit rate)
- Input data and query summary
- Stage completion information
- Collections queried
Use Cases:
- Debug specific ad-hoc executions
- Analyze performance of a particular query
- Retrieve execution inputs for reproduction
- Audit ad-hoc retriever usage
Raises: 404 NotFoundError: If execution not found or not an ad-hoc execution
Headers
Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_MIXPEEK_API_KEY"
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'. Falls back to ?namespace= query parameter if the header is omitted.
"ns_abc123def456"
"production"
"my-namespace"
Path Parameters
Execution identifier.
Response
Successful Response
Detailed information about an ad-hoc retriever execution.
Extends AdhocExecutionSummary with full input data and metadata for comprehensive execution analysis.
Unique execution identifier.
Execution mode ('adhoc').
Execution status ('completed', 'failed', etc.).
When the execution started (UTC).
Total execution duration in milliseconds.
x >= 0Credits consumed during execution.
x >= 0Total documents processed across all stages.
x >= 0Number of documents returned in final results.
x >= 0Number of stages completed.
x >= 0Total number of stages in the pipeline.
x >= 0Cache hit rate across stages (0.0-1.0).
0 <= x <= 1Brief summary of the query inputs.
Collections queried during execution.
Full input data provided for execution.
SHA-1 hash of inputs for deduplication.

