すべてのサイト
Data API
ChatGPT Data API
ChatGPTの構造化された回答と共有された会話のデータ。
4 エンドポイントCloudflare · turnstile · レート制限に自動で対応
プレビュー 近日公開
プレビューは近日公開
このエンドポイントは最終調整中です。まだ実行できないため、実際に動作を確認できるまでサンプルレスポンスは表示していません。
POST
/v1/chatgpt/ask1クレジット / 回Ask
Query ChatGPT and get a structured answer with markdown, model, web-search flag, sources, and a timestamp. Single-shot Q&A (no pagination).
自動で対応:Cloudflareturnstileレート制限
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| prompt | string | はい | The question or prompt to send. |
| 詳細フィルター | |||
| country | string | いいえ | Egress country. (デフォルト:us) |
| model | string | いいえ | Model to answer with. See /chatgpt/models. Default auto. (デフォルト:auto) |
| temperature | number | いいえ | Sampling temperature 0.0-2.0. Lower is more focused. |
| language | string | いいえ | Preferred answer language as an ISO code, e.g. en, de, fr. |
| web_search | boolean | いいえ | Force web search. (デフォルト:false) |