GET
/v1/schemas/openai/audio/audio%2Fvoice_consents
Accept:
Request body
3 properties · 3 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| name* | string | The label to use for this consent recording. | |
| recording* | string | The consent audio recording file. Maximum size is 10 MiB. | format: binary |
| language* | string | The BCP 47 language tag for the consent phrase (for example, `en-US`). |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"audio/voice_consents","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}