WORK IN PROGRESS
DataMiner API for Test Users
This environment is currently under construction. You can already test the extraction API with your API key. The response may run in mock mode while the full GPU pipeline is being finalized.
Python Quick Start
example.py
import requests
BASE_URL = "https://asus.springbok-opah.ts.net"
API_KEY = "dm_your_api_key_here"
payload = {
"document_text": "Invoice #42\\nDate: 2026-03-26\\nTotal: 199.95",
"template": {
"invoice_number": None,
"date": None,
"total": None
},
"wait": True
}
resp = requests.post(
f"{BASE_URL}/api/v1/extract/",
headers={"Authorization": f"Bearer {API_KEY}"},
json=payload,
timeout=30,
)
resp.raise_for_status()
print(resp.json())
You can also send document payloads via the document object format (type: text/base64) together with your extraction template.