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": [
          {
            "entity": "<string>",
            "triggered": true,
            "confidence": 123,
            "evidence": [
              "<string>"
            ]
          }
        ]
      },
      "entityCount": 123,
      "triggeredEntityCount": 123,
      "evalScore": 123,
      "evalExplanation": "<string>",
      "evalBulletSummary": [
        "<string>"
      ]
    }
  ],
  "totalCount": 123
}

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