provider AI Configs POST /api/v2/projects/{projectKey}/agent-graphs
@utdk/launchdarkly /api/v2/projects/{projectKey}/agent-graphs
Create new agent graph
Create a new agent graph within the given project.
LD-API-Version header required
Version of the endpoint.
enum: beta
projectKey path required
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postagentgraph
POST/api/v2/projects/{projectKey}/agent-graphs
Create a new agent graph within the given project.

Parameters

required

Input

required

A unique key for the agent graph

required

A human-readable name for the agent graph

A description of the agent graph

The ID of the member who maintains this agent graph

The key of the team that maintains this agent graph

The AI Config key of the root node. A missing root implies a newly created graph with metadata only.

The edges in the graph. If edges or rootConfigKey is present, both must be present.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.postagentgraph()