API დოკუმენტაცია
ინტეგრირება გაუკეთეთ LawLab AI-ის იურიდიულ AI-ს თქვენს აპლიკაციებში.
Getting Started
Our API is organized around REST. It has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
SDK Support
Official libraries for Python, Node.js, and Go coming soon.
Webhooks
Subscribe to real-time events for asynchronous legal processing.
/v1/analyzeდოკუმენტის ანალიზი და რისკების შეფასება.
Parameters
documentFile • RequiredThe document file (PDF, DOCX) to be analyzed.
optionsObject • OptionalSpecific analysis configuration flags.
import requests
url = "https://api.lawlab.ge/v1/analyze"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
files = {"document": open("contract.pdf", "rb")}
response = requests.post(url, headers=headers, files=files)
print(response.json())/v1/queryიურიდიული კითხვის დასმა და პასუხის მიღება.
Parameters
documentFile • RequiredThe document file (PDF, DOCX) to be analyzed.
optionsObject • OptionalSpecific analysis configuration flags.
import requests
url = "https://api.lawlab.ge/v1/analyze"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
files = {"document": open("contract.pdf", "rb")}
response = requests.post(url, headers=headers, files=files)
print(response.json())/v1/statusსერვისის სტატუსის შემოწმება.
Parameters
documentFile • RequiredThe document file (PDF, DOCX) to be analyzed.
optionsObject • OptionalSpecific analysis configuration flags.
import requests
url = "https://api.lawlab.ge/v1/analyze"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
files = {"document": open("contract.pdf", "rb")}
response = requests.post(url, headers=headers, files=files)
print(response.json())