returns LibraryStructure
Get a single structure (extended link role) by id.
The singular of libraryStructures. Pair it with
libraryElementTree(structureId:) to walk one statement layout's
presentation hierarchy rather than a blend of every variant.
| Name | Type | Description |
|---|---|---|
| id | ID! | The structure's id. |
A named structure (extended link role) within a library taxonomy.
| Field | Type | Description |
|---|---|---|
| id | String! | — |
| name | String! | — |
| blockType | String! | balance_sheet | income_statement | cash_flow_statement | custom | … |
| taxonomyId | String! | — |
| roleUri | String | Original XBRL role URI if any |
| isActive | Boolean! | — |
{ libraryStructure(id: "rec_...") { id name blockType taxonomyId } }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ libraryStructure(id: \"rec_...\") { id name blockType taxonomyId } }"}'