v1.2.0-beta

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.

https://api.lawlab.ge/v1

SDK Support

Official libraries for Python, Node.js, and Go coming soon.

Webhooks

Subscribe to real-time events for asynchronous legal processing.

POST/v1/analyze

დოკუმენტის ანალიზი და რისკების შეფასება.

Parameters

documentFile • Required

The document file (PDF, DOCX) to be analyzed.

optionsObject • Optional

Specific 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())
POST/v1/query

იურიდიული კითხვის დასმა და პასუხის მიღება.

Parameters

documentFile • Required

The document file (PDF, DOCX) to be analyzed.

optionsObject • Optional

Specific 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())
GET/v1/status

სერვისის სტატუსის შემოწმება.

Parameters

documentFile • Required

The document file (PDF, DOCX) to be analyzed.

optionsObject • Optional

Specific 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())