Skip to main content
PUT
/
api
/
detections
/
{id}
/
outputs
cURL
curl -X PUT "https://app.cotool.ai/api/detections/:id/outputs" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"destinationIds":["string"],"sendMode":"triggered_entities_only"}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "enabled": true,
  "destinationIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "acNotificationsEnabled": true,
  "acNotificationDestinationIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

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

Path Parameters

id
string<uuid>
required

Detection UUID

Body

application/json
enabled
boolean
required

Whether output delivery is enabled

destinationIds
string<uuid>[]
required

The output destinations to use

sendMode
enum<string>
required

What entities to send

Available options:
triggered_entities_only,
all_entities

Response

200 - application/json

Successful response

id
string<uuid>
required

Unique identifier for the settings

organizationId
string<uuid>
required

Organization that owns this settings

agentId
string<uuid>
required

Agent these settings apply to

enabled
boolean
required

Whether output delivery is enabled

destinationIds
string<uuid>[]
required

The output destinations to use

sendMode
enum<string>
required

What entities to send

Available options:
triggered_entities_only,
all_entities
createdAt
string
required

When the settings were created

updatedAt
string
required

When the settings were last updated

acNotificationsEnabled
boolean

Whether acceptance criteria failure notifications are enabled

acNotificationDestinationIds
string<uuid>[]

Destinations for acceptance criteria failure notifications