Get Alert Execution
Get a single alert execution result by execution ID. Use this to poll for alert results without needing a webhook.
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
Execution ID (exec_...)
Response
Successful Response
Result of an alert execution.
Captures the outcome of running an alert against one or more documents, including whether the alert was triggered and what matched.
Attributes: alert_id: ID of the alert that was executed collection_id: Collection the alert was executed against execution_id: Unique identifier for this execution triggered: Whether the alert was triggered (i.e., retriever returned results) match_count: Number of matches found matches: List of match results (if include_matches was True) source_documents: Document IDs that triggered the alert check executed_at: When the alert was executed duration_ms: How long the execution took
ID of the alert that was executed
Collection the alert was executed against
Whether the alert was triggered
Number of matches found
x >= 0ISO 8601 timestamp when the alert was executed
How long the execution took in milliseconds
x >= 0Unique identifier for this execution
List of match results
Document IDs that triggered the alert check

