Submit a feedback report
Submit a feedback report for the specified zone. Use type to indicate whether the report is a false positive (good traffic flagged as bot) or a false negative (bot traffic missed). Furthermore, you can also use expression as a wirefilter to identify the affected traffic sample.
See more accepted API fields and expression types at https://developers.cloudflare.com/bots/concepts/feedback-loop/#api-fields and https://developers.cloudflare.com/bots/concepts/feedback-loop/#expression-fields, respectively.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Accepted Permissions (at least one required)
Submit a feedback report
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/bot_management/feedback \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d "{
\"description\": \"Automated scraping missed by detections\",
\"expression\": \"http.host eq 'www.example.com' and http.request.uri.path starts_with '/products' and cf.bot_management.score gt 25\",
\"first_request_seen_at\": \"2025-09-29T00:00:00Z\",
\"last_request_seen_at\": \"2025-09-29T06:00:00Z\",
\"requests\": 2000,
\"requests_by_attribute\": {
\"topIPs\": [
{
\"metric\": \"203.0.113.55\",
\"requests\": 400
}
],
\"topJA3Hashes\": [
{
\"metric\": \"ab12cd34ef56...\",
\"requests\": 900
}
]
},
\"requests_by_score\": {
\"30\": 800,
\"40\": 700,
\"50\": 500
},
\"requests_by_score_src\": {
\"heuristics\": 200,
\"ml\": 1800
},
\"type\": \"false_negative\"
}"