Skip to main content
API referenceAlerts

Alert Trigger

Last updated

GET
/api/v1/alerts/triggers/{id}

Read back one alert trigger: what it watches (table_filter plus the four narrowing fields netuid, event_kind, account, min_amount_tao -- all nullable, so a trigger that sets none of them matches every event on its table), where it delivers (channel, destination), whether it is active, and its firing record. last_matched_at is null until the trigger has fired once, which is NOT the same as match_count: 0 -- a trigger created and immediately disabled shows the latter too. Requires the owner token issued at creation; it is not recoverable if lost. Mirrored by the get_alert_trigger MCP tool. Served live (no static file).

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/alerts/triggers/string"
{  "data": {    "account": "example",    "active": false,    "channel": "example",    "created_at": "2026-06-01T00:00:00.000Z",    "destination": "example",    "event_kind": "example",    "id": "example",    "last_matched_at": "2026-06-01T00:00:00.000Z",    "match_count": 1,    "min_amount_tao": 0.5,    "name": "Example Subnet",    "netuid": 7,    "table_filter": "example",    "updated_at": "2026-06-01T00:00:00.000Z"  },  "meta": {    "artifact_path": "example",    "cache": "short",    "contract_version": "2026-06-29.1",    "generated_at": "2026-06-01T00:00:00.000Z",    "pagination": {      "collection": "example",      "cursor": 1,      "limit": 1,      "next_cursor": 1,      "order": "asc",      "returned": 1,      "sort": "example",      "total": 1    },    "published_at": "2026-06-01T00:00:00.000Z",    "source": "live-cron-prober",    "stale_contract": {      "built_under": "example",      "live": "example"    }  },  "ok": true,  "schema_version": 1}