Skip to content
Tools/Spec Introspection/get_edge_type

get_edge_type

Return one edge catalogue entry by edge type key (e.g. "persona_pursues_job", "feature_addresses_need").

Spec Introspectionatomic (read-only)

Arguments

typestringrequired

Edge type key from UPG_EDGE_CATALOG.

Returns

Shape
{ type, forward_verb, reverse_verb, classification, source_type, target_type }

Examples

Live call against the Notion example graph.

Input

{
  "type": "opportunity_drives_solution"
}

Output

{
  "type": "opportunity_drives_solution",
  "forward_verb": "drives",
  "reverse_verb": "addresses",
  "classification": "causal",
  "source_type": "opportunity",
  "target_type": "solution"
}

See Also