Find and/or aggregate detection alerts

POST /api/detection_engine/signals/search

Find and/or aggregate detection alerts that match the given query.

application/json; Elastic-Api-Version=2023-10-31

Body Required

Search and/or aggregation query

Responses

POST /api/detection_engine/signals/search
curl \
 -X POST https://localhost:5601/api/detection_engine/signals/search \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "_source": true,
  "aggs": {},
  "fields": [
    "string"
  ],
  "query": {},
  "runtime_mappings": {},
  "size": 42,
  "sort": "string",
  "track_total_hits": true
}
Response examples (200)
{}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42
}
{
  "message": "string",
  "status_code": 42
}
Response examples (401)
{
  "error": "string",
  "message": "string",
  "statusCode": 42
}
Response examples (500)
{
  "message": "string",
  "status_code": 42
}