Create new agent graph

Create a new agent graph within the given project.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired

Headers

LD-API-VersionenumRequired
Version of the endpoint.
Allowed values:

Request

Agent graph object to create
keystringRequired
A unique key for the agent graph
namestringRequired

A human-readable name for the agent graph

descriptionstringOptional
A description of the agent graph
maintainerIdstringOptional
The ID of the member who maintains this agent graph
maintainerTeamKeystringOptional
The key of the team that maintains this agent graph
rootConfigKeystringOptional
The AI Config key of the root node. A missing root implies a newly created graph with metadata only.
edgeslist of objectsOptional
The edges in the graph. If edges or rootConfigKey is present, both must be present.

Response

Agent graph created
keystring
A unique key for the agent graph
namestring

A human-readable name for the agent graph

createdAtlong
updatedAtlong
descriptionstring or null
A description of the agent graph
_maintainerobject or null
rootConfigKeystring or null
The AI Config key of the root node
edgeslist of objects or null
The edges in the graph

Errors