Browse the extensions reference

libraryElementArcs

returns [LibraryElementArc!]!

Return all mapping arcs where this element is source or target.

Covers every taxonomy_type='mapping' bridge — equivalence, general-special, rs-gaap-type-subtype. Each row is oriented from the element's perspective (direction = outgoing | incoming).

Arguments

NameTypeDescription
idID!The element to return incoming and outgoing mapping arcs for.

Returns LibraryElementArc

A mapping arc involving a specific element. Flat row view: one arc, oriented from the perspective of the element being inspected. peer is the other end; direction says whether this element is the source ('outgoing') or the target ('incoming'). Scoped to arcs whose structure belongs to a taxonomy_type='mapping' taxonomy — the cross-taxonomy bridges (equivalence, general-special, rs-gaap-type-subtype). Hierarchical arcs inside a single reporting taxonomy are out of scope.

FieldTypeDescription
idString!
directionString!'outgoing' (this element is source) | 'incoming' (target)
associationTypeString!
arcroleString
taxonomyIdString
taxonomyStandardString
taxonomyNameString
structureIdString
structureNameString
peerLibraryElement!

Example

query
{ libraryElementArcs(id: "rec_...") { id direction associationType arcrole } }
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": "{ libraryElementArcs(id: \"rec_...\") { id direction associationType arcrole } }"}'