Browse the extensions reference

libraryElements

returns [LibraryElement!]!

List library elements with filters + pagination.

classification filters on the FASB elementsOfFinancialStatements axis. activityType filters on the cash-flow activity axis (operatingActivity, investingActivity, financingActivity). Both apply independently and can be combined. isAbstract=true → abstract only; false → concrete only; omit for both.

Arguments

NameTypeDescription
taxonomyIdIDFilter to elements of one taxonomy.
sourceStringFilter by originating standard.
classificationStringFilter on the FASB elementsOfFinancialStatements axis.
activityTypeStringFilter on the cash-flow activity axis: operatingActivity, investingActivity or financingActivity.
elementTypeStringFilter by the element's data type.
isAbstractBooleanTrue for abstract only, false for concrete only, omit for both.
limitIntMaximum rows to return, 1-1000. Omit to use this field's own default; out of range raises INVALID_PAGINATION.
offsetIntRows to skip before returning, 0 or greater. Out of range raises INVALID_PAGINATION.
includeLabelsBooleanInclude each element's label set.
includeReferencesBooleanInclude each element's authoritative references.

Returns LibraryElement

A library element (concept, abstract, axis, member, or hypercube).

FieldTypeDescription
idString!
qnameString!Qualified name, e.g. 'fac:Assets'
namespaceString
nameString!
traitStringFASB elementsOfFinancialStatements axis: asset | contraAsset | liability | contraLiability | equity | contraEquity | temporaryEquity | revenue | expense | expenseReversal | gain | loss | comprehensiveIncome | investmentByOwners | distributionToOwners | metric (derived subtotals, not SFAC 6 primary elements). Null for structural rows.
balanceTypeString!debit | credit
periodTypeString!instant | duration
isAbstractBoolean!
isMonetaryBoolean!
elementTypeString!concept | abstract | axis | member | hypercube
sourceString!fac | us-gaap | rs-gaap | …
taxonomyIdString
parentIdString
labels[LibraryLabel!]!
references[LibraryReference!]!

Example

query
{ libraryElements { id qname namespace name } }
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": "{ libraryElements { id qname namespace name } }"}'