GET
/v1/schemas/cloudflare-workers-ai/chat/accounts/{account_id}/ai/run/@cf/cloudflare/clef?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracedb0292c3b66712e25763500f172e97b11c047a38d07b3b9390a8f23b976aef84{
"fetchedAt": 1791349950,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
3 properties · 3 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | string | The model that performed the evaluation. | |
| answers* | object | One answer per question, keyed by the question ids from the request. | |
| usage* | object |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"cloudflare-workers-ai","endpointId":"accounts/{account_id}/ai/run/@cf/cloudflare/clef","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}