curl --location --request POST 'https://api.flashcat.cloud/api/n9e/event-pipeline-tryrun' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"event_id": 0,
"pipeline_config": {
"name": "string",
"team_ids": [
0
],
"team_names": [
"string"
],
"description": "string",
"filter_enable": true,
"label_filters": [
{
"key": "string",
"func": "string",
"value": "string"
}
],
"attribute_filters": {
"key": "string",
"func": "string",
"value": "string"
},
"processors": [
{
"typ": "string",
"config": {}
}
]
}
}'{
"err": "string",
"dat": {
"event": {
"id": 0,
"cate": "string",
"is_recovered": 0,
"datasource_id": 0,
"cluster": "string",
"group_id": 0,
"group_name": "string",
"hash": "string",
"rule_id": 0,
"rule_name": "string",
"rule_note": "string",
"rule_prod": "string",
"rule_algo": "string",
"severity": 0,
"prom_for_duration": 0,
"prom_ql": "string",
"rule_config": {
"algo_params": {
"lower_bound": 0,
"lower_times_num": 0,
"seasonal_duration": 0,
"upper_bound": 0,
"upper_times_num": 0
},
"algorithm": "string",
"inhibit": true,
"prom_ql": "string",
"severity": 0
},
"prom_eval_interval": 0,
"callbacks": [
"string"
],
"runbook_url": "string",
"notify_recovered": 0,
"notify_channels": [
"string"
],
"notify_groups": [
"string"
],
"notify_groups_obj": [
"string"
],
"target_ident": "string",
"target_note": "string",
"trigger_time": 0,
"trigger_value": "string",
"recover_time": 0,
"last_eval_time": 0,
"tags": [
"string"
],
"original_tags": [
"string"
],
"annotations": {},
"notify_cur_number": 0,
"first_trigger_time": 0,
"extra_config": {}
},
"result": "string"
}
}