Skip to main content
POST
/
api
/
threat-model
/
regenerate
cURL
curl -X POST "https://app.cotool.ai/api/threat-model/regenerate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"changeDescription":"string"}'
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "startedLocally": true
}

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

Authorization
string
header
required

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

Body

application/json
changeDescription
string | null

Optional reason shown on the new AI-authored version

Required string length: 1 - 255

Response

200 - application/json

Successful response

jobId
string<uuid>
required
startedLocally
boolean
required