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 }
Retrieve all runs for a specific detection.
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
Detection UUID
Successful response
Array of detection runs
Show child attributes
Total number of runs
Was this page helpful?