AIGC启航站-调试文档
  1. GPTs
AIGC启航站-调试文档
  • 介绍
  • 项目说明
  • 导言
  • 身份验证
  • 发出请求
  • 聊天(Chat)
    • 聊天完成对象
    • 聊天完成块对象
    • 创建聊天补全
      POST
    • gpt-4-vision-preview & gemini-pro-vision
      POST
    • gpts
      POST
    • gemini-pro
      POST
    • gpt-4-all(分析图片)
      POST
    • gpt-4-all(生成图片)
      POST
  • 音频(Audio)
    • 创建语音
      POST
    • 创建转录
      POST
    • 创建翻译
      POST
  • 自动补全(Completions)
    • 完成对象
    • 创建完成
      POST
  • 嵌入(Embeddings)
    • 嵌入对象
    • 创建嵌入
      POST
  • 图像(Images)
    • README
    • 图像对象
    • 创建图像
      POST
    • DALL·E 3
      POST
    • Stable-Diffusion
      POST
  • 文件(Files)
    • README
    • 文件对象
    • 上传文件
  • 帮助中心
    • 常见问题及解决办法
  • GPTs
    • 简介
    • 通过关键词搜索 GPTs
      GET
    • 通过ID搜索 GPTs
      GET
    • 请求指定 gpts
      POST
  1. GPTs

通过ID搜索 GPTs

GET
{{BASE_URL}}v1/gpts/
关键词搜索 gpts ,返回 json 数组

请求参数

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

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://ai.thelazy.topv1/gpts/?id=g-k3IqoCe1l' \
--header 'Authorization: Bearer ' \
--header 'Accept:  application/json' \
--header 'Content-Type:  application/json'

返回响应

🟢200成功
application/json
Body
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
            }
        }
    }
}
修改于 2024-08-05 09:44:47
上一页
通过关键词搜索 GPTs
下一页
请求指定 gpts
Built with