latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

KnowledgeGraph

Get a knowledge graph edge

Retrieves a specific knowledge graph edge by ID. source_node_id is required for PK-aligned lookup.

get/knowledgeGraph/edges/{edge_id}

Path parameters

edge_idstring required

The ID of the edge

Query parameters

workspace_idstring required

The workspace ID (required for auth scope)

application_idstring

The application ID (required for auth scope)

source_node_idstring required

The source node ID (required for PK-prefix-aligned lookup)

Response

The edge

edge_idstring

Unique identifier for the edge (server-generated, suffix -kge)

workspace_idstring

The workspace this edge belongs to

source_node_idstring

The source node ID

destination_node_idstring

The destination node ID

label'CONTAINS' | 'HAS_KNOWLEDGE' | 'DEPENDS_ON' | 'RELATED_TO' | 'COVERS'

Label for a knowledge graph edge indicating its relationship type

ordinalinteger

Ordering hint for sibling edges

weightnumber double

Edge weight (0.0-1.0)

descriptionstring

Human-readable description of this relationship

propertiesobject

Additional structured properties for this edge

versioninteger

Monotonic edit counter (server-managed, readOnly)

u_version_string

ETag for optimistic locking (server-managed, readOnly)

last_updated_bystring

Principal who last updated this edge (server-managed, readOnly)

created_bystring

Principal who created this edge (server-managed, readOnly)

agent_typestring

Agent type that wrote this edge

agent_versionstring

Agent version that wrote this edge

created_atstring date-time

Creation timestamp

updated_atstring date-time

Last update timestamp