通过ID搜索 GPTs
GET
{{BASE_URL}}/v1/gpts/最后修改时间: 5 个月前
通过ID搜索 GPTs 详情
请求参数
Query 参数
id
string
可选
搜索的gpts id,例如:g-k3IqoCe1l
示例值:
g-k3IqoCe1l
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Accept
string
可选
示例值:
application/json
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 0,
"msg": "ok",
"sn": "cb33e437d0a9ad727c9b27f61b5be06c",
"data": {
"gizmo": {
"id": "g-k3IqoCe1l",
"organization_id": "org-BKYs92E7s4KWVUjfmhwsPNf1",
"short_url": "g-k3IqoCe1l-code-guru",
"author": {
"user_id": "user-yp9DLIPtuakcBWOr0ESzYdup",
"display_name": "Ryan J Topps",
"link_to": null,
"is_verified": true,
"selected_display": "name",
"will_receive_support_emails": null,
"display_socials": []
},
"voice": {
"id": "ember"
},
"workspace_id": null,
"model": null,
"instructions": null,
"settings": null,
"display": {
"name": "Code Guru",
"description": "Reviews code, writes pull requests, generates and optimizes functions, writes tests, and comments existing code.",
"prompt_starters": [
"Can you review this code snippet?",
"Can you please write a pull request for this code?",
"Can you please generate me a function that I will describe in the next prompt and write unit tests for it?",
"Can you write the unit tests for this code?",
"Can you add comments to this code?",
"Can you optimize this code with changing it interface?",
"Can you optimize this code?"
],
"profile_pic_id": null,
"profile_picture_url": "https://filesystem.site/cdn/20240229/lD2eG7A2Gqzf7zcDWvqyxJMU3WlHsJ.png",
"categories": [
"programming"
]
},
"share_recipient": "marketplace",
"created_at": "2023-11-12T04:45:07.116011+00:00",
"updated_at": "2024-02-07T19:49:30.003342+00:00",
"last_interacted_at": "2024-03-04T15:47:26.281112+00:00",
"num_interactions": 5,
"tags": [
"public",
"reportable"
],
"version": null,
"live_version": null,
"training_disabled": null,
"sharing_targets": null,
"appeal_info": null,
"vanity_metrics": {
"num_conversations": null,
"num_conversations_str": "25K+",
"num_pins": 0,
"created_ago_str": "3 months ago",
"review_stats": {
"total": 940,
"count": 220
}
},
"workspace_approval_date": null,
"workspace_approved": null,
"sharing": null,
"current_user_permission": {
"can_read": true,
"can_view_config": false,
"can_write": false,
"can_delete": false,
"can_export": false,
"can_share": false
}
},
"tools": [
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_jBdkrHIaLUxsvelKd2InXyR9",
"type": "python",
"settings": null,
"metadata": null
},
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_KG7bgk2POTbiYWdGTjT12plr",
"type": "dalle",
"settings": null,
"metadata": null
},
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_5TXvs08GHMjmJL7JAsHzipF2",
"type": "browser",
"settings": null,
"metadata": null
}
],
"files": [],
"product_features": {
"attachments": {
"type": "retrieval",
"accepted_mime_types": [
"text/x-tex",
"application/msword",
"application/x-latext",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"text/x-php",
"text/x-csharp",
"text/x-typescript",
"text/html",
"text/x-c",
"text/x-ruby",
"text/plain",
"text/x-sh",
"text/markdown",
"text/x-script.python",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"text/x-java",
"text/x-c++",
"text/javascript",
"application/pdf",
"application/json"
],
"image_mime_types": [
"image/webp",
"image/jpeg",
"image/gif",
"image/png"
],
"can_accept_all_mime_types": true
}
}
}
}
最后修改时间: 5 个月前