AZai接口中文文档
  1. 运行(Runs)
AZai接口中文文档
  • 介绍
  • 导言
  • 创建apikey
  • 发出请求
  • 参数详情
  • 音频(Audio)
    • 创建语音
      POST
    • 创建转录
      POST
    • 创建翻译
      POST
  • 聊天(Chat)
    • 聊天完成对象
    • 聊天完成块对象
    • 创建聊天补全
      POST
  • 自动补全(Completions)
    • 完成对象
    • 创建完成
      POST
  • 嵌入(Embeddings)
    • 嵌入对象
    • 创建嵌入
      POST
  • 微调(Fine-tuning)
    • 微调作业对象
    • 微调作业事件对象
    • 创建微调作业
    • 列出微调作业
    • 检索微调作业
    • 取消微调
    • 列出微调事件
  • 图像(Images)
    • README
    • 图像对象
    • 创建图像
    • 创建图片编辑
    • 创建图像变体
  • 模型(Models)
    • 模型对象
    • 列出模型
    • 检索模型
    • 删除微调模型
  • 审查(Moderations)
    • 调节对象
    • 创建内容审核
  • 线程数(Threads)
    • 线程对象
    • 创建线程
    • 检索线程
    • 修改线程
    • 删除话题
  • 运行(Runs)
    • 运行对象
    • 运行步骤对象
    • 创建运行
      POST
    • 检索运行
      GET
    • 修改运行
      GET
    • 列表运行
      GET
    • 提交工具输出以运行
      POST
    • 取消运行
      POST
    • 创建线程并运行
      POST
    • 检索运行步骤
      GET
    • 列出运行步骤
      GET
  1. 运行(Runs)

检索运行步骤

GET
https://api.lzx1.top/v1 /threads/{thread_id}/runs/{run_id}/steps/{step_id}
与指定 ID 匹配的运行步骤对象。

请求参数

Path 参数
thread_id
string 
必需
运行和运行步骤所属线程的 ID。
run_id
string 
必需
运行步骤所属的运行的 ID。
step_id
string 
必需
要检索的运行步骤的 ID。

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lzx1.top/v1 /threads//runs//steps/'

返回响应

🟢200成功
application/json
Body
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"
    }
  }
}
修改于 2025-03-02 11:36:50
上一页
创建线程并运行
下一页
列出运行步骤
Built with