Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.57 KB

File metadata and controls

36 lines (27 loc) · 1.57 KB

AgentGraphPost

Request body for creating an agent graph

Properties

Name Type Description Notes
key str A unique key for the agent graph
name str A human-readable name for the agent graph
description str A description of the agent graph [optional]
maintainer_id str The ID of the member who maintains this agent graph [optional]
maintainer_team_key str The key of the team that maintains this agent graph [optional]
root_config_key str The AI Config key of the root node. A missing root implies a newly created graph with metadata only. [optional]
edges List[AgentGraphEdgePost] The edges in the graph. If edges or rootConfigKey is present, both must be present. [optional]

Example

from launchdarkly_api.models.agent_graph_post import AgentGraphPost

# TODO update the JSON string below
json = "{}"
# create an instance of AgentGraphPost from a JSON string
agent_graph_post_instance = AgentGraphPost.from_json(json)
# print the JSON string representation of the object
print(AgentGraphPost.to_json())

# convert the object into a dict
agent_graph_post_dict = agent_graph_post_instance.to_dict()
# create an instance of AgentGraphPost from a dict
agent_graph_post_from_dict = AgentGraphPost.from_dict(agent_graph_post_dict)

[Back to Model list] [Back to API list] [Back to README]