Skip to main content
GET
/
api
/
detections
/
{id}
/
outputs
cURL
curl -X GET "https://app.cotool.ai/api/detections/:id/outputs" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "settings": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "enabled": true,
    "destinationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sendMode": "triggered_entities_only",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  },
  "destinations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "type": "<string>",
      "config": {
        "url": "<string>",
        "authType": "bearer",
        "headerName": "<string>"
      },
      "token": "<string>",
      "hasToken": true
    }
  ]
}

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

Response

200 - application/json

Successful response

settings
object
required

Current output settings for this detection

destinations
object[]
required

Available output destinations for the organization