Three Extraction Modes
Table Extraction
Define a JSON schema describing the fields you need, and Nia extracts structured records from any PDF. Ideal for financial data, line items, tabular content, and repeating structures.
Detect Extraction
Detect and locate visual elements — tables, figures, charts, diagrams — in PDF pages. Returns bounding boxes, classifications, and annotated page images.
Engineering Extraction
Purpose-built for technical documents — engineering drawings, P&IDs, schematics, and spec sheets. Extracts structured metadata with optional follow-up queries for deeper analysis.
How It Works
1
Submit a Document
Provide a PDF URL or an existing Nia source ID along with an optional page range. For table extraction, include a JSON schema defining the fields to extract.
2
Processing
Nia parses the document, identifies relevant structures, and extracts data according to your schema (table mode) or built-in engineering models (engineering mode).
3
Retrieve Results
Poll the extraction job until it completes. Table extraction returns an array of structured records; engineering extraction returns a result object you can query further.
Table Extraction
Define a JSON schema and Nia returns structured records matching your specification. This is ideal for pulling repeating data out of dense documents like SEC filings, invoices, or product catalogs.Start an Extraction Job
Check Extraction Status
JSON Schema Tips
Detect Extraction
Detect and locate visual elements within PDF pages — tables, figures, charts, and diagrams. Detect mode returns bounding boxes and classifications for each element found, and can render annotated page images with the detections overlaid.Start a Detect Extraction Job
Response:
Check Detect Extraction Status
Get Annotated Page Image
Retrieve a page image with bounding boxes drawn over detected elements:Engineering Extraction
Extract structured information from technical documents — engineering drawings, P&IDs, schematics, datasheets, and construction specifications. Engineering mode uses specialized models tuned for technical content.Start an Engineering Extraction
accuracy_mode parameter controls the speed/accuracy tradeoff:
Response:
Check Engineering Extraction Status
Follow-Up Queries
After an engineering extraction completes, you can ask follow-up questions about the results without re-processing the document:Follow-up queries use the already-extracted context, so they are fast and do not consume additional extraction credits.
List All Extractions
Retrieve all your extraction jobs, optionally filtered by type:Extraction Statuses
Both table and engineering extractions follow the same status lifecycle:Use Cases
Financial Analysis
Extract line items, revenue figures, and balance sheet data from SEC filings (10-K, 10-Q) into structured records for analysis and comparison.
Engineering Review
Parse P&IDs, wiring diagrams, and spec sheets to catalog components, materials, and specifications. Ask follow-up questions about extracted details.
Invoice Processing
Pull vendor names, line items, quantities, and totals from invoices using a custom JSON schema tailored to your format.
Technical Due Diligence
Extract equipment lists, compliance data, and specifications from engineering documents during M&A or audits.

