Content Rewriter

Content Rewriter · Acciones GPT

AHILAB Prompt Message API

Sends a message and a URL to the AHILAB prompt matching engine and returns a markdown-formatted response.

  • GET /ahilab/Send keyword to AHILAB API and get markdown response
Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "AHILAB Prompt Message API",
    "description": "Sends a message and a URL to the AHILAB prompt matching engine and returns a markdown-formatted response.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://orrenprunckun.com"
    }
  ],
  "paths": {
    "/ahilab/": {
      "get": {
        "operationId": "sendKeyword",
        "summary": "Send keyword to AHILAB API and get markdown response",
        "parameters": [
          {
            "name": "keyword",
            "in": "query",
            "required": true,
            "description": "The message to be processed",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Markdown response returned",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid message or url parameter",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Server error or failed request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}