curl --request POST \
--url https://api.example.com/api/events/filter \
--header 'Content-Type: application/json' \
--data '
{
"filter": {
"occurred": {
"since": "2023-11-07T05:31:56Z",
"until": "2023-11-07T05:31:56Z"
},
"event": {
"prefix": [
"<string>"
],
"exclude_prefix": [
"<string>"
],
"name": [
"<string>"
],
"exclude_name": [
"<string>"
]
},
"resource": {
"id": [
"<string>"
],
"id_prefix": [
"<string>"
],
"labels": {},
"distinct": false
},
"related": {
"id": [
"<string>"
],
"role": [
"<string>"
],
"resources_in_roles": [
"<array>"
],
"labels": {}
},
"any_resource": {
"id": [
"<string>"
],
"id_prefix": [
"<string>"
],
"labels": {}
},
"id": {
"id": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
},
"text": {
"query": "<string>"
},
"order": "DESC"
},
"limit": 50
}
'