- 起步
- 介绍
- 导言
- 身份验证
- 发出请求
- 参数详情
- 音频(Audio)
- 聊天(Chat)
- 自动补全(Completions)
- 嵌入(Embeddings)
- 微调(Fine-tuning)
- 图像(Images)
- 模型(Models)
- 文件(Files)
- 审查(Moderations)
- 助手测试版(AssistantsBeta)
- 线程数(Threads)
- 留言(Messages)
- 运行(Runs)
- 已弃用-音频(Audio)
- English
- Authentication
- Making requests
- Streaming
- Debugging requests
- Backward compatibility
- Administration
- Introduction
- Batch
- Models
- Invites
- Chat
- Users
- Projects
- Project users
- Project service accounts
- Project API keys
- Audit logs
- Usage
- Project rate limits
- Completions
- Uploads
- Images
- Embeddings
- Audio
- Files
- Fine-tuning
- Moderations
- Assistants (v1)
- Threads (v1)
- Messages (v1)
- Runs (v1)
列出运行步骤
GET
https://api.openai.com/v1/threads/{thread_id}/runs/{run_id}/steps
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
thread_id
string
required
run_id
string
required
Query Params
limit
integer
optional
order
string
optional
after
string
optional
before
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.openai.com/v1/threads//runs//steps?limit=&order=&after=&before'
Responses
🟢200成功
application/json
Body
object
string
required
data
array [object {14}]
required
id
string
optional
object
string
optional
created_at
integer
optional
run_id
string
optional
assistant_id
string
optional
thread_id
string
optional
type
string
optional
status
string
optional
cancelled_at
null
optional
completed_at
integer
optional
expired_at
null
optional
failed_at
null
optional
last_error
null
optional
step_details
object
optional
first_id
string
required
last_id
string
required
has_more
boolean
required
Example
{
"object": "string",
"data": [
{
"id": "string",
"object": "string",
"created_at": 0,
"run_id": "string",
"assistant_id": "string",
"thread_id": "string",
"type": "string",
"status": "string",
"cancelled_at": null,
"completed_at": 0,
"expired_at": null,
"failed_at": null,
"last_error": null,
"step_details": {
"type": "string",
"message_creation": {
"message_id": "string"
}
}
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
}
Modified at 2024-12-13 09:12:13