亮色模式
Retrieve thread (v1)
GET
https://api.openai.com/v1/threads/thread_abc123Retrieves a thread.
Request
Header 参数
Content-Type
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer $OPENAI_API_KEY
OpenAI-Beta
string
必需
示例值:
assistants=v1
Body 参数application/json
object {0}
示例
{}
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
id
string
必需
object
string
必需
created_at
integer
必需
metadata
object
必需
示例
{
"id": "thread_abc123",
"object": "thread",
"created_at": 1699014083,
"metadata": {}
}
最后修改时间: 10 天前