latestOpenAPI 3.0.02026-07-26117198177.4 KB
9926df2e476d
Alert Templates
List alert rule templates available to the workspace
Browse the alert rule templates your workspace has access to. Narrow the results by network, severity, or tags, or type a few words to search by name or description.
get/v1/risk/alert-templates
Query parameters
networkstring
Example:eth,sol
Comma-separated list of network slugs to filter by (e.g. eth,sol). Selects rule types that have a template on any of these networks; the returned group still lists all networks the rule supports.
search_stringstring
Example:large transfer
Case-insensitive search string matched against label and description.
tagstring
Example:defi,transfer
Comma-separated list of tags to filter by (e.g. defi,transfer).
severitystring
Example:high
Comma-separated list of severity levels to filter by (e.g. low,medium,high).
Response
Example response
{
"groups": [
{
"type": "SafeMultisigExecution",
"label": "Safe Multisig Tx Executed",
"description": "A large transfer was detected on {{network}}",
"severity": "high",
"tags": [
"safe",
"multisig"
],
"networks": [
"arb1",
"bnb",
"eth",
"pol"
],
"templates": [
{
"network": "eth",
"template_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
]
}
]
}