Skip to main content
GET
/
v1
/
alerts
/
executions
List All Executions
curl --request GET \
  --url https://api.mixpeek.com/v1/alerts/executions
{
  "results": [
    {
      "alert_id": "<string>",
      "collection_id": "<string>",
      "triggered": true,
      "match_count": 1,
      "executed_at": "<string>",
      "duration_ms": 1,
      "execution_id": "<string>",
      "matches": [
        {
          "document_id": "<string>",
          "score": 0.5,
          "asset_id": "<string>",
          "matched_features": {},
          "metadata": {}
        }
      ],
      "source_documents": [
        "<string>"
      ]
    }
  ],
  "pagination": {
    "total": 123,
    "page": 123,
    "page_size": 123,
    "total_pages": 123,
    "next_page": "<string>",
    "previous_page": "<string>",
    "next_cursor": "<string>"
  },
  "total_count": 123
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

REQUIRED: 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'

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Query Parameters

limit
integer | null
Required range: 1 <= x <= 1000
offset
integer | null
Required range: 0 <= x <= 10000
cursor
string | null
include_total
boolean
default:false

Response

Successful Response

Response model for listing alert executions.

results
AlertExecutionResult · object[]
required

List of execution results

pagination
PaginationResponse · object
required

Pagination information

total_count
integer
required

Total number of executions