Skip to main content
GET
/
api
/
detections
/
{id}
/
runs
cURL
curl -X GET "https://app.cotool.ai/api/detections/:id/runs" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "runs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "detectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "isStreaming": true,
      "hasError": true,
      "result": {
        "detectionTriggered": true,
        "confidence": 50,
        "individualEntities": [
          {
            "entityType": "<string>",
            "confidence": 123,
            "evidence": [
              "<string>"
            ],
            "summary": "<string>",
            "headline": "<string>",
            "cta": "<string>",
            "statistics": [
              "<string>"
            ],
            "severity": "low",
            "entity": "<string>",
            "triggered": true
          }
        ]
      },
      "entityCount": 123,
      "triggeredEntityCount": 123,
      "evalScore": 123,
      "evalExplanation": "<string>",
      "evalBulletSummary": [
        "<string>"
      ]
    }
  ],
  "totalCount": 123
}

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

Response

200 - application/json

Successful response

runs
object[]
required

Array of detection runs

totalCount
number
required

Total number of runs