GET
/v1/schemas/openai/audio/audio%2Fvoice_consents?kind=output
Accept:
Response body
5 properties · 5 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| object* | enum | The object type, which is always `audio.voice_consent`. | audio.voice_consent |
| id* | string | The consent recording identifier. | |
| name* | string | The label provided when the consent recording was uploaded. | |
| language* | string | The BCP 47 language tag for the consent phrase (for example, `en-US`). | |
| created_at* | integer | The Unix timestamp (in seconds) for when the consent recording was created. | format: unixtime |
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", …}]}