GET
/v1/schemas/cloudflare-workers-ai/chat/accounts/{account_id}/ai/run/@cf/qwen/qwen2.5-coder-32b-instruct?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace60b6c9efd7889a61b87d95a95e15df53a4899aead004524562a4751141a29bd4{
"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/qwen/qwen2.5-coder-32b-instruct",
"kind": "output",
"contentHash": "6497e11c17b9abe6c084ed68a874f592521df758f4665259c602387ede790075",
"specRevision": null,
"provenance": {
"sourceUrl": "https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/src/content/workers-ai-models/qwen2.5-coder-32b-instruct.json",
"sourceHash": "60b6c9efd7889a61b87d95a95e15df53a4899aead004524562a4751141a29bd4",
"fetchedAt": 1791349950,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1791349950,
"supersededAt": null,
"schema": {
"oneOf": [
{
"type": "object",
"properties": {
"response": {
"type": "string",
"description": "The generated text response from the model"
},
"usage": {
"type": "object",
"description": "Usage statistics for the inference request",
"properties": {
"prompt_tokens": {
"type": "number",
"description": "Total number of tokens in input",
"default": 0
},
"completion_tokens": {
"type": "number",
"description": "Total number of tokens in output",
"default": 0
},
"total_tokens": {
"type": "number",
"description": "Total number of input and output tokens",
"default": 0
}
}
},
"tool_calls": {
"type": "array",
"description": "An array of tool calls requests made during the response generation",
"items": {
"type": "object",
"properties": {
"arguments": {
"type": "object",
"description": "The arguments passed to be passed to the tool call request"
},
"name": {
"type": "string",
"description": "The name of the tool to be called"
}
}
}
}
},
"required": [
"response"
]
},
{
"type": "string",
"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/qwen/qwen2.5-coder-32b-instruct","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}