亮色模式
检索运行步骤
GET
https://api.openai.com/v1 /threads/{thread_id}/runs/{run_id}/steps/{step_id}与指定 ID 匹配的运行步骤对象。
Request
Path 参数
thread_id
string
必需
运行和运行步骤所属线程的 ID。
run_id
string
必需
运行步骤所属的运行的 ID。
step_id
string
必需
要检索的运行步骤的 ID。
Request samples
返回响应
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
id
string
必需
object
string
必需
created_at
integer
必需
run_id
string
必需
assistant_id
string
必需
thread_id
string
必需
type
string
必需
status
string
必需
cancelled_at
null
必需
completed_at
integer
必需
expired_at
null
必需
failed_at
null
必需
last_error
null
必需
step_details
object
必需
type
string
必需
message_creation
object
必需
示例
{
"id": "step_QyjyrsVsysd7F4K894BZHG97",
"object": "thread.run.step",
"created_at": 1699063291,
"run_id": "run_UWvV94U0FQYiT2rlbBrdEVmC",
"assistant_id": "asst_nGl00s4xa9zmVY6Fvuvz9wwQ",
"thread_id": "thread_BDDwIqM4KgHibXX3mqmN3Lgs",
"type": "message_creation",
"status": "completed",
"cancelled_at": null,
"completed_at": 1699063291,
"expired_at": null,
"failed_at": null,
"last_error": null,
"step_details": {
"type": "message_creation",
"message_creation": {
"message_id": "msg_6YmiCRmMbbE6FALYNePPHqwm"
}
}
}
最后修改时间: 10 天前