Alerts

Get Latest Alert Result

Changed on

Get the most recent execution result for an alert. Use this endpoint to poll for alert results without a webhook. Returns the latest execution with match details, or 404 if the alert has never executed.

get/v1/alerts/{alert_identifier}/results

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/alerts/{alert_identifier}/results
  • Auth: HTTP bearer and API key in header X-Namespace

Path parameters

alert_identifierstring required

Alert ID (alt_...) or name

Response

Successful Response

alert_idstring required

ID of the alert that was executed

collection_idstring required

Collection the alert was executed against

execution_idstring

Unique identifier for this execution

triggeredboolean required

Whether the alert was triggered

match_countinteger required

Number of matches found

source_documentsstring[]

Document IDs that triggered the alert check

executed_atstring required

ISO 8601 timestamp when the alert was executed

duration_msinteger required

How long the execution took in milliseconds

Changes

    • info

      added the optional property to the response with the status

    • 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