Enterprise Case Study Benchmark
Results achieved on a 2.19MB legal statute document containing 44,750 matching entities with exact byte-offset mapping:
81.6ms
Total Execution Time
26.8MB/s
Throughput Rate
Interactive API Console
No request executed yet.
Quick Start cURL
Trigger the entity extraction API directly from your terminal:
curl -X POST https://api.lemay.app/extract \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk_test_sovereign_123" \
-H "X-Device-Fingerprint: local_test_run" \
-d '{
"text": "Rust is fast",
"schema": [
{"keyword": "Rust", "label": "LANGUAGE"}
]
}'
API Schema Specs
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Source text to search"
},
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": { "type": "string" },
"label": { "type": "string" }
},
"required": ["keyword", "label"]
}
}
},
"required": ["text", "schema"]
}
[
{
"type": "object",
"properties": {
"label": { "type": "string" },
"value": { "type": "string" },
"start_offset": {
"type": "integer",
"description": "Start byte position"
},
"end_offset": {
"type": "integer",
"description": "End byte position (exclusive)"
}
},
"required": [
"label",
"value",
"start_offset",
"end_offset"
]
}
]