Skip to main content
POST
/
api
/
detection-authoring
/
drafts
/
{chatId}
/
smart-deploy
cURL
curl -X POST "https://app.cotool.ai/api/detection-authoring/drafts/:chatId/smart-deploy" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"draft":{"chatId":"string","proposalId":"string","organizationId":"string","platform":"string","name":"string","description":"string","query":"string","reasoning":"string","mitreTechniqueIds":["string"],"mitreTechniqueNames":["string"],"dataSourcesRequired":["string"],"createdAt":"string","updatedAt":"string"}}'

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

chatId
string<uuid>
required

Body

application/json
draft
object

Optional draft to deploy instead of the original proposal

Response

200

Successful response - no content