GET
/v1/schemas/xiaomi/chat/v1/responses?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. generated Source trace1be241b9a882b3c70954e8ec04031cb657b06c8e0b0bbb8511e5b6ec63b82ae7{
"fetchedAt": 1791522949,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
10 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | Unique identifier for this Response. | |
| created_at | number | Unix timestamp (in seconds) of when this Response was created. | |
| error | object | An error object returned when the model fails to generate a Response. | |
| incomplete_details | object | Details about why the response is incomplete. | |
| model | string | Model ID used to generate the response. | |
| object | enum | Available options: response | response |
| output | object | object | object[] | An array of content items generated by the model. The length and order of items in the output array is dependent on the model’s response. Rather than accessing the first item in the output array and assuming it’s an assistant message with the content generated… | |
| output_text | string | SDK-only convenience property that contains the aggregated text output from all output_text items in the output array, if any are present. | |
| status | enum | The status of the response. Available options: completed , in_progress , incomplete | completed | in_progress | incomplete |
| usage | object | Usage statistics for the response. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"xiaomi","endpointId":"v1/responses","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}