Skip to main content
GET
Get Adhoc Execution

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

execution_id
string
required

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.

execution_id
string
required

Unique execution identifier.

execution_mode
string
required

Execution mode ('adhoc').

status
string
required

Execution status ('completed', 'failed', etc.).

timestamp
any
required

When the execution started (UTC).

duration_ms
number
required

Total execution duration in milliseconds.

Required range: x >= 0
credits_used
number
required

Credits consumed during execution.

Required range: x >= 0
total_processed
integer
required

Total documents processed across all stages.

Required range: x >= 0
total_returned
integer
required

Number of documents returned in final results.

Required range: x >= 0
stages_completed
integer
required

Number of stages completed.

Required range: x >= 0
total_stages
integer
required

Total number of stages in the pipeline.

Required range: x >= 0
cache_hit_rate
number | null

Cache hit rate across stages (0.0-1.0).

Required range: 0 <= x <= 1
query_summary
string | null

Brief summary of the query inputs.

collection_ids
string[]

Collections queried during execution.

inputs
string | null

Full input data provided for execution.

inputs_hash
string | null

SHA-1 hash of inputs for deduplication.