- 系统介绍
- 系统 优势
- 补充说明
- 辅助功能
- 按量计费
- 按次计费
列出助手
GET
https://api.zyai.online/v1/assistants
请求参数
Query 参数
limit
integer
可选
order
string
可选
after
string
可选
before
string
可选
示例代码
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.zyai.online/v1/assistants'
返回响应
🟢200成功
application/json
Body
object
string
必需
data
array [object {10}]
必需
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
必需
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",
"instructions": "You are a helpful assistant designed to make me better at coding!",
"tools": [],
"file_ids": [],
"metadata": {}
},
{
"id": "asst_abc456",
"object": "assistant",
"created_at": 1698982718,
"name": "My Assistant",
"description": null,
"model": "gpt-4",
"instructions": "You are a helpful assistant designed to make me better at coding!",
"tools": [],
"file_ids": [],
"metadata": {}
},
{
"id": "asst_abc789",
"object": "assistant",
"created_at": 1698982643,
"name": null,
"description": null,
"model": "gpt-4",
"instructions": null,
"tools": [],
"file_ids": [],
"metadata": {}
}
],
"first_id": "asst_abc123",
"last_id": "asst_abc789",
"has_more": false
}