cURL
Detections
Generate investigation plan
Generate an investigation plan and system prompt from a detection intent.
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
What the detection should look for and why
Minimum string length:
1Tool names available to the detection agent (used to infer data sources)
CLI integration ids available to the detection agent (used as data sources at runtime)
Cadence the detection will run on; the runtime prompt derives the primary lookback window from this metadata
Available options:
hourly, daily, weekly, null Optional detection ID when regenerating a plan for an existing detection
Response
200 - application/json
Successful response