Skip to main content
This detector identifies potential leaks of copyrighted material or intellectual property in the generated text. It helps protect against unintended use or distribution of protected content.
  • NOTE: This is unavailable at the moment. (Coming soon)

Example request:

import requests
import json
import os

url = "https://api.enkryptai.com/guardrails/detect"

payload = json.dumps({
    "text": "The invention includes dust sensors that measure the accumulation of particles on the surface.",
    "detectors": {
        "copyright_ip": {
            "enabled": True,
            "block_message": "Your custom message"
        }
    }
})

headers = {
    'Content-Type': 'application/json',
    'apikey': os.getenv('ENKRYPTAI_API_KEY')
}

response = requests.request("POST", url, headers=headers, data=payload)

formatted_response = json.dumps(json.loads(response.text), indent=4)
print(formatted_response)

Example response:

JSON
{
  "summary": {
    "copyright_ip_similarity": 0.6765570640563965
  },
  "details": {
    "copyright_ip": {
      "similarity_score": 0.6765570640563965,
      "compliance_mapping": {
        "owasp_llm_2025": [
          "LLM02:2025 Sensitive Information Disclosure (Proprietary data subset)"
        ],
        "mitre_atlas": [],
        "nist_ai_rmf": [
          "GOVERN 1.5 (Legal & regulatory compliance)"
        ],
        "eu_ai_act": [
          "Article 53, Recital 105 (Respect for IP & copyright)"
        ],
        "iso_iec_standards": [
          "ISO/IEC 42001: 6.1.3"
        ]
      }
    }
  },
  "result_message": "Your custom message"
}