Skip to content

Extract PCB Specification

Request

Extract structured PCB specification attributes from a document such as a datasheet or fabrication drawing. Send the raw file bytes as the request body with Content-Type: application/octet-stream. Supported formats: PDF, PNG, JPEG, DOCX, XLSX.

The response is a flat list of extracted attributes. Each attribute carries its value, an optional unit, and the bounding box(es) of where it was found in the document — with coordinates normalized to the [0, 1] range relative to each page's width and height.

Extraction is synchronous and may take several seconds.

Security
BearerAuth
Headers
Acceptstring(PcbSpecificationAcceptHeader)required

Set this to application/api.luminovo.pcb-specification-v1+json.

Value:"application/api.luminovo.pcb-specification-v1+json"
Bodyapplication/octet-streamrequired

The raw bytes of the document to extract. Supported formats: PDF, PNG, JPEG, DOCX, XLSX.

string, (binary)(types.pcb_specification.v1.DocumentUpload)

The raw bytes of the document to extract.

POST
/pcb-specification/extract
curl -i -X POST \
  https://api.luminovo.com/pcb-specification/extract \
  -H 'Accept: application/api.luminovo.pcb-specification-v1+json' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/octet-stream' \
  -d string

Responses

The extracted PCB specification.

Bodyapplication/json
attributesArray of objects(types.pcb_specification.v1.ExtractedSpecificationAttribute)required
Response
{ "attributes": [ {} ] }