GET

/v1/schemas/cloudflare-workers-ai/chat/accounts/{account_id}/ai/run/@cf/cloudflare/clef-omni

kind inputactivity chathash 05b99f1a…extracted Oct 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
d846efd394e073aea8615e6931c1adafc6bbc04e493a32ce222a93892bcbcb41
{
  "fetchedAt": 1791609627,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

6 properties · 3 required · 0 $defs
propertytypedescriptionconstraints
model*stringRequired. The model selector: "clef-omni" for @cf/cloudflare/clef-omni.default: "clef-omni"
state*anyRequired. The content to evaluate: a string, or structured data (object/array) such as records, chat logs, or application state. Long text state is truncated to fit the model's token limit.
questions*objectMap of question id to a typed question (noul, choice, or score). 1 to 64 questions; ids may use letters, digits, '_', '.', '-' (max 100 chars). Answers are returned under the same ids.
imagesstring | Base64 image[]Clef extension to the System One API. Optional embedded PNG, JPEG, or WebP images placed before the state (max 4; 4 MiB and 16 megapixels each, 8 MiB total decoded). Each image costs 64 to 1,024 input tokens. Remote URLs are not accepted.items ≤ 4
audiostring | Base64 audio[]Clef-Omni extension. Optional embedded audio clips (max 4; 8 MiB and 300 seconds each). Audio and video clips together may total at most 16 MiB decoded. Remote URLs are not accepted.items ≤ 4
videosstring | Base64 video[]Clef-Omni extension. Optional embedded videos (max 2; 16 MiB and 60 seconds each), sampled at 2 frames per second. A video's soundtrack is heard with its frames when every video in the request has one. Audio and video clips together may total at most 16 MiB de…items ≤ 2

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"cloudflare-workers-ai","endpointId":"accounts/{account_id}/ai/run/@cf/cloudflare/clef-omni","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}