Skip to main content
GET
查询 Response

Authorizations

Authorization
string
header
required

标准 HTTP Bearer 认证。在 API Keys 获取密钥。

Path Parameters

response_id
string
required

要检索的响应 ID,即创建响应时返回的 id

Example:

"resp_xxx"

Response

业务处理成功

同步请求返回的 Response 对象。

id
string

本次请求的唯一标识。

object
enum<string>

固定为 response

Available options:
response
created_at
integer<int64>

请求创建时间,Unix 秒时间戳。

model
string

模型名称。

instructions
string

系统指令。

max_output_tokens
integer<int64>

模型输出最大 token 数,包含回答和思维链。

status
enum<string>

生成状态。

Available options:
completed,
failed,
in_progress,
incomplete
temperature
number<float>

采样温度。

top_p
number<float>

核采样概率阈值。

text
object

模型文本输出格式,可以是自然语言或结构化 JSON。

tools
(函数工具 · object | 命名空间工具 · object | 自定义工具 · object | 联网搜索 · object)[]

同入参 tools

error
object | null

模型未能生成响应时的错误对象。

incomplete_details
object | null

响应未能完成的细节。

output
(助手回答 · object | 思维链输出 · object | 函数调用 · object | 联网搜索调用 · object)[]

本轮输出:回答、思维链、工具调用、联网搜索。

usage
object