LDX hub API
LDX hub provides AI-powered document processing APIs including StructFlow (unstructured text to structured JSON) and RefineLoop (XLIFF translation quality refinement).
Authentication
Send your API key in the Authorization header as a Bearer token.
Code
Access keys are available after subscription via the Developer Portal.
Asynchronous Processing
All jobs are processed asynchronously.
- Upload a file if needed via
POST /files - Submit a job → receive a
job_id - Poll
GET /{service}/jobs/{job_id}untilstatusiscompletedorfailed
Job Status
| Status | Description |
|---|---|
queued | Job accepted and waiting to be processed |
processing | Job is currently being processed |
completed | Job finished successfully |
failed | Job failed before processing started |
Billing
Usage is measured in credits. Each credit costs $0.0001. Credit consumption varies by service, AI engine, and data volume. See LDX hub Pricing for details.
Tags
Files
Upload and manage files used as job inputs or outputs
Uploads
Create upload sessions and send file data in Base64-encoded chunks. Use this for MCP clients or environments where multipart/form-data is not available.
StructFlow Models
List available AI models for StructFlow
StructFlow Jobs
Create and manage StructFlow structured data extraction jobs
RefineLoop Models
List available AI models for RefineLoop
RefineLoop Jobs
Create and manage RefineLoop XLIFF translation refinement jobs