Hi Teji –
When you set dimensions to true (or leave the filter off, in the case of GM and the concepts you shared) and include dimension.local-name and member.local-name in the fields returned, you can learn more about the structure of the OperatingLease facts:
https://api.xbrl.us/api/v1/fact/search?entity.cik=0001467858&concept.local-name=OperatingLeaseLiability,OperatingLeaseLiabilityNoncurrent,OperatingLeaseLiability
Current,OperatingLeaseRightOfUseAsset&fact.ultimus=true&fields=report.sec-url,entity.name.sort,report.filing-date.sort(DESC),period.fiscal-year.sort(DESC),period.fiscal-period.sort(DESC),concept.local-name,fact.has-dimensions,dimensions.count,dimension.local-name.sort(DESC),member.local-name.sort(DESC),fact.value,fact.ultimus-index,dts.id
If you’re looking for more information, you can use the relationship endpoint to learn where in the report the underlying detail for the facts appear in the presentation (network.role-description):
https://api.xbrl.us/api/v1/relationship/search?dts.id=384701,364091,347365,334440,324699&
relationship.target-name=MajorPropertyClassAxis,BalanceSheetLocationAxis,
VehiclesMember,AccruedLiabilitiesMember,OtherAssetsMember,
OtherLiabilitiesMember&network.link-name=presentationLink&
fields=dts.id.sort(DESC),relationship.id,relationship.target-name.sort(ASC),network.role-description.sort(ASC),
relationship.source-name,relationship.tree-sequence.sort(ASC)
NOTE: if you put the first query above in Google Sheet cell A1 in showData=(), then drop this formula in A22 or lower, it might help to see how these are related.
=showData(CONCATENATE("https://api.xbrl.us/api/v1/relationship/
search?dts.id=", TEXTJOIN(",", TRUE, UNIQUE(A2:A19)) ,
"&relationship.target-name=", TEXTJOIN(",", TRUE, UNIQUE(H2:H19)),
",", TEXTJOIN(",", TRUE, UNIQUE(I2:I19)), "
&network.link-name=presentationLink&fields=dts.id.sort(DESC),
relationship.id,relationship.target-name.sort(ASC),
network.role-description.sort(ASC),relationship.source-name,
relationship.tree-sequence.sort(ASC),concept.local-name"))
This is for demonstration purposes only 🙂 – keep in mind the axis/member relationship of the first query is not preserved in the second, so some of the results in the second may not be appropriate.