Spaces method and path for this operation:
post /s/{space_id}/api/detection_engine/signals/search
Refer to Spaces for more information.
Find and/or aggregate detection alerts that match the given query.
POST
/api/detection_engine/signals/search
curl \
--request POST 'https://localhost:5601/api/detection_engine/signals/search' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"_source": true,
"aggs": {},
"fields": [
"string"
],
"query": {},
"runtime_mappings": {},
"size": 42,
"sort": "string",
"track_total_hits": true
}'