EUR-Lex Helper

EUR-Lex Helper · GPT アクション

EUR-Lex Search Proxy

Proxy API for querying the EUR-Lex database using keyword-based expert queries.

  • GET /test.phpGetEURLexData

    Retrieves search results from EUR-Lex based on a keyword-based expert query.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "EUR-Lex Search Proxy",
    "description": "Proxy API for querying the EUR-Lex database using keyword-based expert queries.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://aiathand.com"
    }
  ],
  "paths": {
    "/test.php": {
      "get": {
        "description": "Retrieves search results from EUR-Lex based on a keyword-based expert query.",
        "operationId": "GetEURLexData",
        "parameters": [
          {
            "name": "expertQuery",
            "in": "query",
            "description": "A keyword-based query string for searching the EUR-Lex database. The query should consist of relevant keywords separated by spaces.",
            "required": true,
            "schema": {
              "type": "string",
              "example": "climate change legislation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with search results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string"
                      },
                      "rank": {
                        "type": "number"
                      },
                      "document_link": {
                        "type": "string"
                      },
                      "content": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, such as missing or invalid expert query"
          },
          "500": {
            "description": "Internal server error"
          }
        },
        "deprecated": false
      }
    }
  }
}