d0fc0114da66
Update a knowledge graph edge
Updates mutable fields of a knowledge graph edge (ordinal, weight, description, properties). Immutable fields (source_node_id, destination_node_id, label, created_at) are rejected with 400. Mandatory If-Match header. source_node_id is required for PK-aligned lookup.
Path parameters
The ID of the edge to update
Query parameters
The workspace ID (required for auth scope)
The application ID (required for auth scope)
The source node ID (required for PK-prefix-aligned lookup)
Headers
ETag for optimistic locking. Functionally required: omitting it surfaces a typed 428 (Precondition Required) response with code "etag_required" so an agent can recover deterministically. Declared as required=false at the schema level so the request reaches the service rather than being rejected by the OpenAPI validator with a generic 400.
Request body
Response
The updated edge