Skip to main content
POST
Filter/Query: evaluate a query over the EDA document (E7.2)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
document
object
required

The project document as the /eda page saves it: {sch:{symbols,wires,junctions}, pcb:{fps,tracks,vias,outline, pads?}}. Unknown fields are ignored; the parsed document's re-serialization is the canonical form.

editor
enum<string>
required
Available options:
sch,
pcb
query
string
required

Filter/Query text.

Response

Matches in document order

canonical
string
count
integer
editor
string
matches
object[]
query
string
query_key
string

blake3 content address of (canonical document, editor, canonical query).

scanned
integer
vocabulary
object

The grammar's properties / predicates / functions / operators and the named later constructs.