Awesome GPTs

Awesome GPTs · Actions GPT

Awesome GPTs API

  • GET /api/gsearchPerform a search for what the GPTs you want
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Awesome GPTs API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://awesomegpts.co"
    }
  ],
  "paths": {
    "/api/gsearch": {
      "get": {
        "summary": "Perform a search for what the GPTs you want",
        "operationId": "gsearch",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "input the search string, e.g. the GPTs goals, tasks, example etc"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "the",
                  "properties": {
                    "ok": {
                      "type": "boolean",
                      "description": "when true, means a successful search with results, when false, should read the msg field to learn why"
                    },
                    "msg": {
                      "type": "string",
                      "description": "when ok as false, introduce why failed",
                      "nullable": true
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "gid": {
                            "type": "string",
                            "description": "the GPTs store id"
                          },
                          "name": {
                            "type": "string",
                            "descrption": "the GPTs anme"
                          },
                          "author": {
                            "type": "string",
                            "description": "the GPTs app author"
                          },
                          "gstore": {
                            "type": "string",
                            "description": "the GPTs app isntall address, use https://chat.openai.com/g/{gstore} to try it"
                          },
                          "description": {
                            "type": "string",
                            "description": "descripe how to use the GPTs"
                          },
                          "logo": {
                            "type": "string",
                            "format": "uri",
                            "description": "The logo URL of this GPTs, which mime type is image/png, fill the img html tag with src attribute, size should be 16x16 px"
                          },
                          "prompts": {
                            "type": "string",
                            "description": "suggested entry prompts, user can directly used it"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}