cURL
Detections
Generate a SIEM query asynchronously
Starts detection query generation in a background job and returns a job ID for polling.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Body
application/json
Request body for generating a detection query using AI
Natural language description of what the query should accomplish
Minimum string length:
1The detection tool platform to generate the query for (SIEM or endpoint tools like SentinelOne)
Available options:
splunk, sumologic, elastic, databricks, datadog, scanner, runreveal, sentinelone, gadmin The detection category to optimize the query for
Available options:
baseline_anomaly, first_occurrence, sequence_pattern, privilege_escalation, custom Response
200 - application/json
Successful response
Async detection query generation job identifier
Background job ID for this query generation request