GPTs Url

GPTs Url · GPT アクション

Get GPTs Lists

This action is designed to search for GPTs based on a user's question.

  • POST /api/search.jsongetGptsList

    This action is designed to search for GPTs based on a user's question.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get GPTs Lists",
    "description": "This action is designed to search for GPTs based on a user's question.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://gptsurl.com"
    }
  ],
  "paths": {
    "/api/search.json": {
      "post": {
        "description": "This action is designed to search for GPTs based on a user's question.",
        "operationId": "getGptsList",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "keyword": {
                    "type": "string",
                    "description": "A string parameter where the user's search query is input"
                  }
                },
                "required": [
                  "keyword"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "number",
                      "description": "Indicates the status of the request, 0 is success"
                    },
                    "lists": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "A URL to visit for more information or to access the GPT."
                          },
                          "icon": {
                            "type": "string",
                            "description": "The Icon of the GPT."
                          },
                          "title": {
                            "type": "string",
                            "description": "The name of the GPT."
                          },
                          "desc": {
                            "type": "string",
                            "description": "A brief description of what the GPT does."
                          },
                          "author": {
                            "type": "string",
                            "description": "The name of the GPT's author or creator."
                          }
                        },
                        "required": [
                          "url",
                          "icon",
                          "title",
                          "desc",
                          "author"
                        ]
                      },
                      "description": "If the API response is successful and GPTs are found, the response JSON will contain a field named lists with a list of GPTs. "
                    }
                  },
                  "required": [
                    "code",
                    "lists"
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}