Skip to main content
POST

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

application/json
model
string
必須
例:

"gpt-5.5"

input
必須

Responses の入力。文字列、または message / tool-result item の配列を指定できます。

instructions
string

システムまたは開発者向けの指示。

max_output_tokens
integer

推論と最終回答を合わせた最大トークン数。上限はモデルごとに異なり、予算を使い切ると回答が不完全になる場合があります。

必須範囲: x >= 1
temperature
number
必須範囲: 0 <= x <= 2
top_p
number
必須範囲: 0 <= x <= 1
reasoning
object
text
object
tools
object[]

Responses tools。function tools と web_search_preview などの組み込みツールを含みます。

tool_choice
stream
boolean

true の場合、OpenAI Responses SSE イベントを返します。

metadata
object
reasoning_effort
enum<string>

reasoning.effort の互換エイリアス。両方の形式を指定する場合、値を一致させてください。不一致は 400 になります。 推論強度。この列挙は構文上の許容値であり、全モデルでの対応を保証しません。非対応の値は 400 になります。Kimi K3 は low、high、max(既定は max)に対応し、GPT-5.4/5.5 は none、low、medium、high、xhigh に対応します。Claude と Gemini の制限は /ja/models/chat-models を参照。省略時はモデルの既定動作を維持します。モデルごとの対応値・既定値・無効化可否は GET /v1/models の capability_metadata.reasoning で公開されています。

利用可能なオプション:
none,
minimal,
low,
medium,
high,
xhigh,
max

レスポンス

OpenAI-compatible Responses response.

id
string
必須
object
string
必須
例:

"response"

status
string
必須
model
string
必須
output
object[]
必須
created_at
integer
output_text
string
usage
object