GET
/v1/schemas/openai/chat/realtime%2Fclient_secrets
Accept:
Request body
2 properties · 0 required · 26 $defs| property | type | description | constraints |
|---|---|---|---|
| expires_after | object | Configuration for the client secret expiration. Expiration refers to the time after which a client secret will no longer be valid for creating sessions. The session itself may continue after that time once started. A secret can be used to create multiple sessi… | |
| session | Realtime session configuration | Realtim… | Session configuration to use for the client secret. Choose either a realtime session or a transcription session. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"realtime/client_secrets","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}