GET
/v1/schemas/cloudflare-workers-ai/chat/accounts/{account_id}/ai/run/@cf/openai/gpt-oss-20b?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace5d482865ea9ff6280473f50140eac3b526b0537baeed7e4fd47b32caafc7d859{
"fetchedAt": 1791349950,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
0 properties · 0 required · 0 $defsThis schema isn’t a plain object with properties — showing the raw JSON instead.
application/json
{
"provider": "cloudflare-workers-ai",
"activity": "chat",
"endpointId": "accounts/{account_id}/ai/run/@cf/openai/gpt-oss-20b",
"kind": "output",
"contentHash": "be0d2500825121a633fcab1fdf7dcd8fbcd3bf482eb476d80850de93512c8a1f",
"specRevision": null,
"provenance": {
"sourceUrl": "https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/workers-ai-models/gpt-oss-20b.json",
"sourceHash": "5d482865ea9ff6280473f50140eac3b526b0537baeed7e4fd47b32caafc7d859",
"fetchedAt": 1791349950,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1791349950,
"supersededAt": null,
"schema": {
"oneOf": [
{
"type": "object",
"contentType": "application/json"
},
{
"type": "string",
"contentType": "text/event-stream",
"format": "binary"
}
]
}
}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/openai/gpt-oss-20b","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}