{
  "openapi": "3.0.3",
  "info": {
    "title": "NovaCopilot Regulatory Intelligence API: GDPR API, AI Act API, AI compliance API",
    "version": "1.0.0",
    "description": "Source-bound regulatory intelligence for GDPR, AI Act, DORA and NIS2. Tags: AI compliance API, compliance API, risk API, GDPR API, AI Act API, DORA, NIS2.",
    "x-citation-policy": "https://legal.exploreworldai.com/.well-known/citation-policy.json"
  },
  "servers": [
    {
      "url": "https://legal.exploreworldai.com/api/public/rapid",
      "description": "Kräver RapidAPI-nyckel. Öppna v1-adresser listas i /llms.txt."
    }
  ],
  "tags": [
    {
      "name": "Compliance Foundation",
      "description": "What rules apply to me and what changed today?"
    },
    {
      "name": "AI Agent Compliance APIs",
      "description": "Ready-to-use compliance intelligence for AI agents and copilots."
    },
    {
      "name": "Regulatory Graph",
      "description": "Source-backed regulatory objects and official documents."
    }
  ],
  "paths": {
    "/agent-rules": {
      "get": {
        "tags": [
          "Compliance Foundation"
        ],
        "summary": "Search EU rules and provisions with official source references, ready for RAG and copilots.",
        "description": "Find the exact rule and source before you answer a customer. Example: /rules?q=data breach notification. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent-applies": {
      "get": {
        "tags": [
          "Compliance Foundation"
        ],
        "summary": "Pick a role, industry or topic and get the rules that apply, with sources.",
        "description": "Does this rule apply to my company? Example: /applies?lang=en. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent-today": {
      "get": {
        "tags": [
          "Compliance Foundation"
        ],
        "summary": "Today's regulatory changes with dates and sources, built for scheduled jobs.",
        "description": "What changed since yesterday? Example: /today?jurisdiction=eu. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent/overview": {
      "get": {
        "tags": [
          "AI Agent Compliance APIs"
        ],
        "summary": "Current status and core requirements per article in GDPR, AI Act, DORA and NIS2.",
        "description": "Give my AI agent the core duty of an article in one call. Example: /agent/overview?regulation=eu:gdpr&article=33. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent/risks": {
      "get": {
        "tags": [
          "AI Agent Compliance APIs"
        ],
        "summary": "Source-bound risks per article, never guessed.",
        "description": "What is the documented risk if we fail this article? Example: /agent/risks?regulation=eu:ai-act&article=5. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent/actions": {
      "get": {
        "tags": [
          "AI Agent Compliance APIs"
        ],
        "summary": "Controls and an action list per article, ready to use.",
        "description": "What must my team do to comply? Example: /agent/actions?regulation=eu:dora&article=28. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent/evidence": {
      "get": {
        "tags": [
          "AI Agent Compliance APIs"
        ],
        "summary": "The documentation and evidence an auditor expects.",
        "description": "What proof do we need for the audit? Example: /agent/evidence?regulation=eu:nis2&article=21. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent/outcome": {
      "get": {
        "tags": [
          "AI Agent Compliance APIs"
        ],
        "summary": "Registered enforcement outcomes per article.",
        "description": "What happened to others who broke this article? Example: /agent/outcome?regulation=eu:gdpr&article=83. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent-graph/object/{type}/{ref}": {
      "get": {
        "tags": [
          "Regulatory Graph"
        ],
        "summary": "One regulatory object with source, version and hash.",
        "description": "Cite a stable, verifiable object in my product. Example: /graph/object/obligation/eu:gdpr:33. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ref",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/agent-graph/documents": {
      "get": {
        "tags": [
          "Regulatory Graph"
        ],
        "summary": "Where the official document lives, with source trust and citation line, as JSON.",
        "description": "Link my users to the official original. Example: /graph/documents?ref=euact:32016R0679. Missing data returns status not_in_register. Source: NovaCopilot.",
        "parameters": [
          {
            "name": "ref",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Source-bound JSON, 100 to 300 tokens"
          },
          "401": {
            "description": "Missing RapidAPI key"
          }
        }
      }
    },
    "/api/public/v1/agents/ai-act-governance": {
      "get": {
        "summary": "AI Act Governance Agent: board status from registered AI Act objects",
        "parameters": [
          {
            "name": "article",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "5,6,50"
          }
        ],
        "responses": {
          "200": {
            "description": "Governance JSON with status GREEN, YELLOW, RED or UNKNOWN"
          }
        }
      }
    },
    "/api/public/v1/agents/governance": {
      "get": {
        "summary": "Governance Agent v2: one governance object per regulation",
        "parameters": [
          {
            "name": "regulation",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "AI_ACT",
                "GDPR",
                "DORA",
                "NIS2",
                "CSDDD",
                "CSRD",
                "MICA"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Governance object with board, executive and investor views"
          }
        }
      }
    },
    "/api/public/v1/social-commerce": {
      "get": {
        "summary": "EU Social Commerce Pack: short 'does this apply to me?' answers for SMEs selling via social media, messaging apps and chat",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "de",
                "fr",
                "it",
                "es",
                "da",
                "fi"
              ]
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Answer objects with applies_to, obligation, deadline, action and legal basis (EUR-Lex). Source: NovaCopilot"
          },
          "404": {
            "description": "not_in_register"
          }
        }
      }
    }
  }
}
