Skip to main content
PATCH
Update agent graph

Authorizations

Authorization
string
header
required

Headers

LD-API-Version
enum<string>
required

Version of the endpoint.

Available options:
beta

Path Parameters

projectKey
string
required
graphKey
string
required

Body

application/json

Agent graph object to update

Request body for updating an agent graph. If rootConfigKey or edges are present, both must be present.

name
string

A human-readable name for the agent graph

description
string

A description of the agent graph

maintainerId
string

The ID of the member who maintains this agent graph. Pass an empty string to remove maintainer.

Example:

"507f1f77bcf86cd799439011"

maintainerTeamKey
string

The key of the team that maintains this agent graph. Pass an empty string to remove maintainer.

Example:

"example-team-key"

rootConfigKey
string

The config key of the root node. If present, edges must also be present.

edges
object[]

The edges in the graph. If present, rootConfigKey must also be present. Replaces all existing edges.

Response

Agent graph updated

An agent graph representing a directed graph of configs

key
string
required

A unique key for the agent graph

name
string
required

A human-readable name for the agent graph

createdAt
integer<int64>
required
updatedAt
integer<int64>
required
_access
object
Example:
_site
object
Example:
description
string

A description of the agent graph

_maintainer
object
Example:
rootConfigKey
string

The config key of the root node

edges
object[]

The edges in the graph