API Documentation

Integrate document processing into your application in minutes.

Quick Start

1
Sign up and create an API key

Register for an account, then navigate to Settings → API Keys to generate your first API key. Keys are prefixed with lucid_live_.

2
Upload a document via the API

curl -X POST https://lucid.qawaid.ai/api/v1/documents/upload \
  -H "X-API-Key: lucid_live_..." \
  -F "file=@invoice.pdf"

3
Retrieve extracted data

curl https://lucid.qawaid.ai/api/v1/documents/{id} \
  -H "X-API-Key: lucid_live_..."

Poll until status is COMPLETED, then read the extracted_data field.

Authentication

All API requests must include your API key in the X-API-Key header:

X-API-Key: lucid_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

API keys are scoped to your organization and respect your subscription's rate limits. Keep your keys secret — do not commit them to version control.