Get Execution Query Profile (explain-on-execute read path)
Return the query profile for a PAST execution, by execution_id — the same plan that explain=true returns inline at execute time, read back later. Contains per-stage timings + input/output counts, MVS execution stats, the optimizer summary, and (as it is wired) the shard ExecutionTrace (chosen legs, fusion, push-downs, nprobe, served/shadow planner). Reads the query_profile persisted on the RETRIEVER_EXECUTION analytics event (latest row wins). Returns 404 if the execution has no captured profile. This is the queryable, Studio-friendly counterpart to inline explain.
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Path Parameters
Retriever ID or name.
Execution identifier.
Response
Successful Response
The response is of type Response Get Execution Profile V1 Retrievers Retriever Id Executions Execution Id Profile Get · object.

