# Contract — Filament deep link into Alert Deliveries

## Goal

Allow a deterministic deep link from an Alert Target (destination) to the Deliveries viewer filtered to the most relevant rows.

## Target

- Resource: `AlertDeliveryResource`
- Page: list/index

## Query-string filter contract (Filament v5)

Use Filament’s `filters[...]` query-string state to pre-apply table filters:

- Filter by event type:
  - `filters[event_type][value]=alerts.test`
- Filter by destination:
  - `filters[alert_destination_id][value]={DESTINATION_ID}`

Combined example:

`/admin/alert-deliveries?filters[event_type][value]=alerts.test&filters[alert_destination_id][value]=123`

## Required table filters

The Deliveries list must define these filters with matching keys:

- `SelectFilter::make('event_type')`
- `SelectFilter::make('alert_destination_id')`

(These are additive to the existing `status` filter.)
