Update agent graph
Edit an existing agent graph.
The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields.
If the update includes rootConfigKey or edges, both must be present and will be treated as full replacements.
Authentication
Authorizationstring
API Key authentication via header
Path parameters
projectKey
graphKey
Headers
LD-API-Version
Version of the endpoint.
Allowed values:
Request
Agent graph object to update
name
A human-readable name for the agent graph
description
A description of the agent graph
rootConfigKey
The AI Config key of the root node. If present, edges must also be present.
edges
The edges in the graph. If present, rootConfigKey must also be present. Replaces all existing edges.
Response
Agent graph updated
key
A unique key for the agent graph
name
A human-readable name for the agent graph
createdAt
updatedAt
description
A description of the agent graph
rootConfigKey
The AI Config key of the root node
edges
The edges in the graph