Detections
Generate a SIEM query using AI
⚠️ Deprecated Standalone query generation is superseded by detection authoring with agents. Run an agent that has your SIEM tool attached (POST /api/agents/{agentId}/run-sync) or author detections in the Cotool app. No sunset is scheduled; the endpoint will be removed once its remaining integration retires. Use instead: /api/agents/:agentId/run-sync
Generates a SIEM query based on a natural language prompt using AI.
post/api/detection-queries/generate
Request
- Base URLhttps://app.cotool.ai
- AuthHTTP bearer
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 2 revisions of this API.