Retrieve extruded sketch from OnShape API by GeoID

Hello,

Im trying to export all Sketch and Extrude Operations of a CAD Model via API for downstream processing. Ultimately I want to create a datastructure similar to this:



I can retrieve the edges and constraints using the endpoint /partstudios/d/{did}/{wvm}/{wvmid}/e/{eid}/features. No problem here. But for extrude operations I receive 

{
        "type" : 148,
        "typeName" : "BTMParameterQueryList",
        "message" : {
          "queries" : [ {
            "type" : 138,
            "typeName" : "BTMIndividualQuery",
            "message" : {
              "geometryIds" : [ "JGC" ],
              "hasUserCode" : false,
              "nodeId" : "Fw7bheyuFAclyzY"
            }
          } ],
          "parameterId" : "entities",
          "hasUserCode" : false,
          "nodeId" : "YwtNXy9HOwP0MsqL"
}

Now I don't know how I can resolve the geometryId "JGC" into a sketch entity, because I need to know which sketch is extruded. Is there any featurescript function or API call do resolve this?

Any help is greatly appreciated!

Answers