Browse the extensions reference

libraryStructures

returns [LibraryStructure!]!

List structures (extended link roles) — BS, IS, custom, etc.

Arguments

NameTypeDescription
taxonomyIdIDFilter to structures of one taxonomy.
blockTypeStringFilter to one block type.

Returns LibraryStructure

A named structure (extended link role) within a library taxonomy.

FieldTypeDescription
idString!
nameString!
blockTypeString!balance_sheet | income_statement | cash_flow_statement | custom | …
taxonomyIdString!
roleUriStringOriginal XBRL role URI if any
isActiveBoolean!

Example

query
{ libraryStructures { id name blockType taxonomyId } }
curl
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": "{ libraryStructures { id name blockType taxonomyId } }"}'