Introduction
Exelensia is a document data extraction platform. Upload documents (PDFs, images, spreadsheets, and more), define extraction schemas, and retrieve structured data via a REST API.
Quick Start
- Get your API key — Generate an API key in the Exelensia dashboard under Settings > API Keys.
- Define a schema — Create an extraction schema specifying the fields you want to extract.
- Upload a document — Use the Upload API to submit your file for processing.
- Process the document — Submit the uploaded file for extraction using your schema.
- Retrieve results — Fetch the extracted data from the Results API.
Authentication
All API endpoints authenticate via API key. Include your key in the x-api-key header on every request:
curl -H "x-api-key: your_api_key_here" https://api.exelensia.com/v1/schemasYou can generate and manage API keys in the Exelensia dashboard under Settings → API Keys.
Base URL
https://api.exelensia.com/v1
All endpoints are prefixed with /v1.
Pagination
List endpoints support these query parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number (min: 1) |
limit | number | 20 | Items per page (min: 1, max: 100) |
sort_by | string | — | Field to sort by |
sort_order | string | desc | Sort direction: asc or desc |
search | string | — | Search filter |
created_after | ISO 8601 | — | Filter by creation date (after) |
created_before | ISO 8601 | — | Filter by creation date (before) |
Supported File Types
| Type | MIME Type |
|---|---|
application/pdf | |
| JPEG | image/jpeg |
| PNG | image/png |
| WebP | image/webp |
| DOCX | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| PPTX | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| XLSX | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| EPUB | application/epub+zip |
| RTF | application/rtf |
| ODT | application/vnd.oasis.opendocument.text |
| CSV | text/csv |
| TXT | text/plain |
Maximum file size: 50 MB.
Rate Limits
The API enforces rate limiting per API key. If you exceed the limit, you will receive a 429 Too Many Requests response. Wait and retry with exponential backoff.