亮色模式
List assistants (v1)
GET
https://api.openai.com/v1/assistantsReturns a list of assistants.
Request
Query 参数
order
string
必需
示例值:
desc
limit
string
必需
示例值:
20
Header 参数
Content-Type
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer $OPENAI_API_KEY
OpenAI-Beta
string
必需
示例值:
assistants=v1
Body 参数text/plain
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object
string
必需
data
array [object {13}]
必需
id
string
必需
object
string
必需
created_at
integer
必需
name
string | null
必需
description
null
必需
model
string
必需
instructions
string | null
必需
tools
array[string]
必需
file_ids
array[string]
必需
metadata
object
必需
top_p
integer
必需
temperature
integer
必需
response_format
string
必需
first_id
string
必需
last_id
string
必需
has_more
boolean
必需
示例
{
"object": "list",
"data": [
{
"id": "asst_abc123",
"object": "assistant",
"created_at": 1698982736,
"name": "Coding Tutor",
"description": null,
"model": "gpt-4-turbo",
"instructions": "You are a helpful assistant designed to make me better at coding!",
"tools": [],
"file_ids": [],
"metadata": {},
"top_p": 1,
"temperature": 1,
"response_format": "auto"
},
{
"id": "asst_abc456",
"object": "assistant",
"created_at": 1698982718,
"name": "My Assistant",
"description": null,
"model": "gpt-4-turbo",
"instructions": "You are a helpful assistant designed to make me better at coding!",
"tools": [],
"file_ids": [],
"metadata": {},
"top_p": 1,
"temperature": 1,
"response_format": "auto"
},
{
"id": "asst_abc789",
"object": "assistant",
"created_at": 1698982643,
"name": null,
"description": null,
"model": "gpt-4-turbo",
"instructions": null,
"tools": [],
"file_ids": [],
"metadata": {},
"top_p": 1,
"temperature": 1,
"response_format": "auto"
}
],
"first_id": "asst_abc123",
"last_id": "asst_abc789",
"has_more": false
}
最后修改时间: 10 天前