|
176 | 176 | } |
177 | 177 | }, |
178 | 178 | "429": { |
179 | | - "description": "- `too_many_requests` : Too many concurrent requests for this app.\n- `rate_limit_error` : The upstream model provider rate limit was exceeded.", |
| 179 | + "description": "`too_many_requests` : Too many concurrent requests for this app.", |
180 | 180 | "content": { |
181 | 181 | "application/json": { |
182 | 182 | "examples": { |
|
187 | 187 | "code": "too_many_requests", |
188 | 188 | "message": "Too many requests. Please try again later." |
189 | 189 | } |
190 | | - }, |
191 | | - "rate_limit_error": { |
192 | | - "summary": "rate_limit_error", |
193 | | - "value": { |
194 | | - "status": 429, |
195 | | - "code": "rate_limit_error", |
196 | | - "message": "Rate Limit Error" |
197 | | - } |
198 | 190 | } |
199 | 191 | } |
200 | 192 | } |
|
733 | 725 | "TTS" |
734 | 726 | ], |
735 | 727 | "summary": "Convert Audio to Text", |
736 | | - "description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `15 MB`.", |
| 728 | + "description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `30 MB`.", |
737 | 729 | "requestBody": { |
738 | 730 | "required": true, |
739 | 731 | "content": { |
|
972 | 964 | } |
973 | 965 | } |
974 | 966 | }, |
975 | | - "413": { |
976 | | - "description": "`audio_too_large` : Audio file size exceeded.", |
977 | | - "content": { |
978 | | - "application/json": { |
979 | | - "examples": { |
980 | | - "audio_too_large": { |
981 | | - "summary": "audio_too_large", |
982 | | - "value": { |
983 | | - "status": 413, |
984 | | - "code": "audio_too_large", |
985 | | - "message": "Audio size exceeded." |
986 | | - } |
987 | | - } |
988 | | - } |
989 | | - } |
990 | | - } |
991 | | - }, |
992 | | - "415": { |
993 | | - "description": "`unsupported_audio_type` : Audio type not allowed.", |
994 | | - "content": { |
995 | | - "application/json": { |
996 | | - "examples": { |
997 | | - "unsupported_audio_type": { |
998 | | - "summary": "unsupported_audio_type", |
999 | | - "value": { |
1000 | | - "status": 415, |
1001 | | - "code": "unsupported_audio_type", |
1002 | | - "message": "Audio type not allowed." |
1003 | | - } |
1004 | | - } |
1005 | | - } |
1006 | | - } |
1007 | | - } |
1008 | | - }, |
1009 | 967 | "500": { |
1010 | 968 | "description": "`internal_server_error` : Internal server error.", |
1011 | 969 | "content": { |
|
1269 | 1227 | "type": "http", |
1270 | 1228 | "scheme": "bearer", |
1271 | 1229 | "bearerFormat": "API_KEY", |
1272 | | - "description": "API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences." |
| 1230 | + "description": "API Key authentication. For all API requests, include your API Key in the `Authorization` HTTP Header, prefixed with `Bearer `. Example: `Authorization: Bearer {API_KEY}`. **Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.**" |
1273 | 1231 | } |
1274 | 1232 | }, |
1275 | 1233 | "responses": { |
|
1322 | 1280 | "streaming", |
1323 | 1281 | "blocking" |
1324 | 1282 | ], |
1325 | | - "default": "blocking", |
1326 | | - "description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes). Cloudflare timeout is `100 s`." |
| 1283 | + "description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes). Cloudflare timeout is `100 s`. When omitted, defaults to blocking behavior." |
1327 | 1284 | }, |
1328 | 1285 | "user": { |
1329 | 1286 | "type": "string", |
|
1958 | 1915 | "external_user_id": { |
1959 | 1916 | "type": "string", |
1960 | 1917 | "nullable": true, |
1961 | | - "description": "The `user` identifier provided in API requests (e.g., the `user` field in [Send Chat Message](/api-reference/chats/send-chat-message))." |
| 1918 | + "description": "The `user` identifier provided in API requests (e.g., the `user` field in [Send Completion Message](/api-reference/completions/send-completion-message))." |
1962 | 1919 | }, |
1963 | 1920 | "name": { |
1964 | 1921 | "type": "string", |
|
2095 | 2052 | "file": { |
2096 | 2053 | "type": "string", |
2097 | 2054 | "format": "binary", |
2098 | | - "description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `15 MB`." |
| 2055 | + "description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `30 MB`." |
2099 | 2056 | }, |
2100 | 2057 | "user": { |
2101 | 2058 | "type": "string", |
|
0 commit comments