Classify under the example rules. These are illustrative rules, not a platform policy.
Routine
Ordinary informational content
CLEF PLAYGROUND
Pick a scenario. Explore the context, shape the questions, and understand the decisions.
Paste the content you want to check against your rules.
Tell Clef what to check. Edit the sample questions or add your own (1–3 questions).
Keep at least one question to run an analysis.
3 attempts/minute and 3/day per public IP; 300/day site-wide. Browsers, devices, and models using the same public IP share this quota. Daily reset: 00:00 UTC. Failed, timed out, and canceled attempts may count.
74 / 8000 serialized UTF-8 bytes used.
Replaces the content with an ambiguous example to test your rules. It does not run an analysis.
Example answersIllustrative · not a live result
Classify under the example rules. These are illustrative rules, not a platform policy.
Ordinary informational content
Probabilities express a model’s judgment, not measured accuracy. Example values are illustrative.
Selected option: routine
API confidence: 85.0%. This is a separate field from the option probabilities.
{
"model": "clef-flash",
"answers": {
"category": {
"type": "choice",
"choice": "routine",
"probabilities": {
"routine": 0.94,
"review": 0.05,
"restricted": 0.01
},
"confidence": 0.85
}
}
}For developers
Copy an API request for your current draft, or save the configuration for later.
Drafts stay in page memory. Export before leaving. Configuration files never include images, credentials, or results.
curl "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai/run/@cf/cloudflare/clef-flash" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H 'Content-Type: application/json' \
--data-binary '{"model":"clef-flash","state":"Here is my step-by-step guide to growing tomatoes in balcony containers.","questions":{"category":{"type":"choice","instructions":"Classify under the example rules. These are illustrative rules, not a platform policy.","criteria":{"routine":"Ordinary informational content","review":"Ambiguous claims or context needing human review","restricted":"Explicit threats of violence against a person"}}}}'Help us improve the toolkit
Allow Google Analytics to measure visits and tool use? Your playground content is excluded. Privacy details