Automatic Classification and Extraction
Automatic Classification and Extraction This endpoint is documented for production integration usage.
Endpoint URL
https://api.neudociq.com/api/v1/extract/autoOverview
Automatic Classification and Extraction This endpoint is documented for production integration usage.
Purpose
Automatic Classification and Extraction
Use Case
Use this endpoint as part of your document processing workflow where the operation path is required.
Authentication
- APIKeyHeader: API key in header (X-API-Key).
Header Example
X-API-Key: ndq_test_api_keyHeaders
No parameters.
Query Parameters
No parameters.
Path Parameters
No parameters.
Request Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| client_id | string | Required | Client identifier for schema routing | client_id_value |
Request Default
Copy-ready examples with real endpoint paths and authentication placeholders.
const url = "https://api.neudociq.com/api/v1/extract/auto";
const response = await fetch(url, {
method: 'POST',
headers: {
'X-API-Key': 'ndq_test_api_key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"document_id": "string_value",
"document_url": "string_value",
"client_id": "client_id_value",
"document_type": "string_value",
"confidence_threshold": 0.7,
"use_llm_fallback": false,
"fallback_schema_id": "string_value",
"select_pages": 1,
"maintain_format": true,
"enable_citations": true,
"return_raw_on_failure": true,
"skip_failure_reextraction": false
}),
});
const data = await response.json();
console.log(data);Best Practices
- Validate required fields client-side before sending requests.
- Log request identifiers and HTTP status codes for supportability.
- Retry only when the operation is safe or your workflow is idempotent.
- Route low-confidence classifications into review queues instead of silently accepting them.
- Use batch AutoExtract for high-volume ingestion rather than sending many single requests concurrently.