Skip to main content
Server path: /launchdarkly-ai-configs | Type: Application | PCID required: Yes

Tools

ToolDescription
launchdarkly_ai_configs_delete_agent_graphDelete agent graph
launchdarkly_ai_configs_delete_agent_optimizationDelete an agent optimization
launchdarkly_ai_configs_delete_aiconfigDelete AI Config
launchdarkly_ai_configs_delete_aiconfig_variationDelete AI Config variation
launchdarkly_ai_configs_delete_aitoolDelete AI tool
launchdarkly_ai_configs_delete_model_configDelete an AI model config
launchdarkly_ai_configs_delete_prompt_snippetDelete a prompt snippet
launchdarkly_ai_configs_delete_restricted_modelsRemove AI models from the restricted list
launchdarkly_ai_configs_get_agent_graphGet agent graph
launchdarkly_ai_configs_get_agent_optimizationGet an agent optimization
launchdarkly_ai_configs_get_aiconfigGet AI Config
launchdarkly_ai_configs_get_aiconfig_metricsGet AI Config metrics
launchdarkly_ai_configs_get_aiconfig_metrics_by_variationGet AI Config metrics by variation
launchdarkly_ai_configs_get_aiconfig_quick_statsGet AI Config quick stats
launchdarkly_ai_configs_get_aiconfig_targetingShow an AI Config’s targeting
launchdarkly_ai_configs_get_aiconfig_variationGet AI Config variation
launchdarkly_ai_configs_get_aiconfigsList AI Configs
launchdarkly_ai_configs_get_aitoolGet AI tool
launchdarkly_ai_configs_get_model_configGet AI model config
launchdarkly_ai_configs_get_prompt_snippetGet a prompt snippet
launchdarkly_ai_configs_list_agent_graphsList agent graphs
launchdarkly_ai_configs_list_agent_optimization_resultsList agent optimization runs
launchdarkly_ai_configs_list_agent_optimization_results_by_run_idList agent optimization results for a run
launchdarkly_ai_configs_list_agent_optimizationsList agent optimizations
launchdarkly_ai_configs_list_aitool_versionsList AI tool versions
launchdarkly_ai_configs_list_aitoolsList AI tools
launchdarkly_ai_configs_list_model_configsList AI model configs
launchdarkly_ai_configs_list_prompt_snippet_referencesList prompt snippet references
launchdarkly_ai_configs_list_prompt_snippetsList prompt snippets
launchdarkly_ai_configs_patch_agent_graphUpdate agent graph
launchdarkly_ai_configs_patch_agent_optimizationUpdate an agent optimization
launchdarkly_ai_configs_patch_agent_optimization_resultUpdate an agent optimization result
launchdarkly_ai_configs_patch_aiconfigUpdate AI Config
launchdarkly_ai_configs_patch_aiconfig_targetingUpdate AI Config targeting
launchdarkly_ai_configs_patch_aiconfig_variationUpdate AI Config variation
launchdarkly_ai_configs_patch_aitoolUpdate AI tool
launchdarkly_ai_configs_patch_prompt_snippetUpdate a prompt snippet
launchdarkly_ai_configs_post_agent_graphCreate new agent graph
launchdarkly_ai_configs_post_agent_optimizationCreate agent optimization
launchdarkly_ai_configs_post_agent_optimization_resultCreate agent optimization result
launchdarkly_ai_configs_post_aiconfigCreate new AI Config
launchdarkly_ai_configs_post_aiconfig_variationCreate AI Config variation
launchdarkly_ai_configs_post_aitoolCreate an AI tool
launchdarkly_ai_configs_post_model_configCreate an AI model config
launchdarkly_ai_configs_post_prompt_snippetCreate a prompt snippet
launchdarkly_ai_configs_post_restricted_modelsAdd AI models to the restricted list

launchdarkly_ai_configs_delete_agent_graph

Delete agent graph Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
graphKeystringYesGraph Key

launchdarkly_ai_configs_delete_agent_optimization

Delete an agent optimization Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key

launchdarkly_ai_configs_delete_aiconfig

Delete AI Config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key

launchdarkly_ai_configs_delete_aiconfig_variation

Delete AI Config variation Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
variationKeystringYesVariation Key

launchdarkly_ai_configs_delete_aitool

Delete AI tool Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
toolKeystringYesTool Key

launchdarkly_ai_configs_delete_model_config

Delete an AI model config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
modelConfigKeystringYesModel Config Key

launchdarkly_ai_configs_delete_prompt_snippet

Delete a prompt snippet Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
snippetKeystringYesSnippet Key

launchdarkly_ai_configs_delete_restricted_models

Remove AI models from the restricted list Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
keysstring[]YesThe keys value

launchdarkly_ai_configs_get_agent_graph

Get agent graph Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
graphKeystringYesGraph Key

launchdarkly_ai_configs_get_agent_optimization

Get an agent optimization Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key

launchdarkly_ai_configs_get_aiconfig

Get AI Config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key

launchdarkly_ai_configs_get_aiconfig_metrics

Get AI Config metrics Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
fromintegerYesThe starting time, as milliseconds since epoch (inclusive).
tointegerYesThe ending time, as milliseconds since epoch (exclusive). May not be more than 100 days after from.
envstringYesAn environment key. Only metrics from this environment will be included.

launchdarkly_ai_configs_get_aiconfig_metrics_by_variation

Get AI Config metrics by variation Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
fromintegerYesThe starting time, as milliseconds since epoch (inclusive).
tointegerYesThe ending time, as milliseconds since epoch (exclusive). May not be more than 100 days after from.
envstringYesAn environment key. Only metrics from this environment will be included.

launchdarkly_ai_configs_get_aiconfig_quick_stats

Get AI Config quick stats Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
envstringYesAn environment key. Only metrics from this environment will be included.

launchdarkly_ai_configs_get_aiconfig_targeting

Show an AI Config’s targeting Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key

launchdarkly_ai_configs_get_aiconfig_variation

Get AI Config variation Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
variationKeystringYesVariation Key

launchdarkly_ai_configs_get_aiconfigs

List AI Configs Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
sortstringNoA sort to apply to the list of AI Configs.
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.
filterstringNoA filter to apply to the list.

launchdarkly_ai_configs_get_aitool

Get AI tool Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
toolKeystringYesTool Key

launchdarkly_ai_configs_get_model_config

Get AI model config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
modelConfigKeystringYesModel Config Key

launchdarkly_ai_configs_get_prompt_snippet

Get a prompt snippet Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
snippetKeystringYesSnippet Key

launchdarkly_ai_configs_list_agent_graphs

List agent graphs Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_list_agent_optimization_results

List agent optimization runs Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_list_agent_optimization_results_by_run_id

List agent optimization results for a run Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key
runIdstringYesRun Id

launchdarkly_ai_configs_list_agent_optimizations

List agent optimizations Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_list_aitool_versions

List AI tool versions Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
toolKeystringYesTool Key
sortstringNoA sort to apply to the list of AI Configs.
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_list_aitools

List AI tools Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
sortstringNoA sort to apply to the list of AI Configs.
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.
filterstringNoA filter to apply to the list.

launchdarkly_ai_configs_list_model_configs

List AI model configs Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
restrictedbooleanNoWhether to return only restricted models

launchdarkly_ai_configs_list_prompt_snippet_references

List prompt snippet references Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
snippetKeystringYesSnippet Key
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_list_prompt_snippets

List prompt snippets Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
limitintegerNoThe number of resources to return.
offsetintegerNoWhere to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

launchdarkly_ai_configs_patch_agent_graph

Update agent graph Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
graphKeystringYesGraph Key
descriptionstringNoA description of the agent graph
edgesobject[]NoThe edges in the graph. If present, rootConfigKey must also be present. Replaces all existing edges.
maintainerIdstringNoThe ID of the member who maintains this agent graph. Pass an empty string to remove maintainer.
maintainerTeamKeystringNoThe key of the team that maintains this agent graph. Pass an empty string to remove maintainer.
namestringNoA human-readable name for the agent graph
rootConfigKeystringNoThe AI Config key of the root node. If present, edges must also be present.

launchdarkly_ai_configs_patch_agent_optimization

Update an agent optimization Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key
acceptanceStatementsobject[]NoAcceptance Statements
groundTruthResponsesstring[]NoGround Truth Responses
judgeModelstringNoJudge Model
judgesobject[]NoThe judges value
maxAttemptsintegerNoMax Attempts
metricKeystringNoMetric Key
modelChoicesstring[]NoModel Choices
userInputOptionsstring[]NoUser Input Options
variableChoicesobject[]NoVariable Choices

launchdarkly_ai_configs_patch_agent_optimization_result

Update an agent optimization result Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key
resultIdstringYesResult Id
activitystringNoThe activity value
completionResponsestringNoCompletion Response
createdVariationKeystringNoCreated Variation Key
evaluationLatenciesobjectNoEvaluation Latencies
evaluationTokensobjectNoEvaluation Tokens
generationLatencyintegerNoGeneration Latency
generationTokensobjectNoGeneration Tokens
scoresobjectNoThe scores value
statusstringNoThe status value
variationobjectNoThe variation value

launchdarkly_ai_configs_patch_aiconfig

Update AI Config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
descriptionstringNoThe description value
evaluationMetricKeystringNoEvaluation metric key for this AI Config
isInvertedbooleanNoWhether the evaluation metric is inverted, meaning a lower value is better if set as true
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
namestringNoThe name value
tagsstring[]NoThe tags value

launchdarkly_ai_configs_patch_aiconfig_targeting

Update AI Config targeting Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
commentstringNoThe comment value
environmentKeystringYesEnvironment Key
instructionsobject[]YesThe instructions value

launchdarkly_ai_configs_patch_aiconfig_variation

Update AI Config variation Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
variationKeystringYesVariation Key
commentstringNoHuman-readable description of what this patch changes
descriptionstringNoDescription for agent when AI Config is in agent mode.
instructionsstringNoInstructions for agent when AI Config is in agent mode.
judgeConfigurationobjectNoJudge Configuration
messagesobject[]NoThe messages value
modelobjectNoThe model value
modelConfigKeystringNoModel Config Key
namestringNoThe name value
publishedbooleanNoThe published value
statestringNoOne of ‘archived’, ‘published’
toolKeysstring[]NoList of tool keys to use for this variation. The latest version of the tool will be used.
toolsobject[]NoList of tools to use for this variation. The latest version of the tool will be used.

launchdarkly_ai_configs_patch_aitool

Update AI tool Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
toolKeystringYesTool Key
customParametersobjectNoCustom metadata and configuration for application-level use (not sent to LLM)
descriptionstringNoThe description value
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
schemaobjectNoJSON Schema defining the tool’s parameters for LLM consumption

launchdarkly_ai_configs_patch_prompt_snippet

Update a prompt snippet Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
snippetKeystringYesSnippet Key
descriptionstringNoThe description value
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
namestringNoThe name value
tagsstring[]NoThe tags value
textstringNoThe text content of the prompt snippet

launchdarkly_ai_configs_post_agent_graph

Create new agent graph Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
descriptionstringNoA description of the agent graph
edgesobject[]NoThe edges in the graph. If edges or rootConfigKey is present, both must be present.
keystringYesA unique key for the agent graph
maintainerIdstringNoThe ID of the member who maintains this agent graph
maintainerTeamKeystringNoThe key of the team that maintains this agent graph
namestringYesA human-readable name for the agent graph
rootConfigKeystringNoThe AI Config key of the root node. A missing root implies a newly created graph with metadata only.

launchdarkly_ai_configs_post_agent_optimization

Create agent optimization Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
acceptanceStatementsobject[]NoAcceptance Statements
aiConfigKeystringYesAi Config Key
groundTruthResponsesstring[]NoGround Truth Responses
judgeModelstringYesJudge Model
judgesobject[]NoThe judges value
keystringYesThe key value
maxAttemptsintegerYesMax Attempts
metricKeystringNoMetric Key
modelChoicesstring[]NoModel Choices
userInputOptionsstring[]NoUser Input Options
variableChoicesobject[]NoVariable Choices

launchdarkly_ai_configs_post_agent_optimization_result

Create agent optimization result Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
optimizationKeystringYesOptimization Key
agentOptimizationVersionintegerYesAgent Optimization Version
instructionsstringYesThe instructions value
iterationintegerYesThe iteration value
parametersobjectNoThe parameters value
runIdstringYesRun Id
userInputstringYesUser Input

launchdarkly_ai_configs_post_aiconfig

Create new AI Config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
defaultVariationobjectNoDefault Variation
descriptionstringNoThe description value
evaluationMetricKeystringNoEvaluation metric key for this AI Config
isInvertedbooleanNoWhether the evaluation metric is inverted, meaning a lower value is better if set as true
keystringYesThe key value
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
modestringNoThe mode value
namestringYesThe name value
tagsstring[]NoThe tags value

launchdarkly_ai_configs_post_aiconfig_variation

Create AI Config variation Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
configKeystringYesConfig Key
commentstringNoHuman-readable description of this variation
descriptionstringNoReturns the description for the agent. This is only returned for agent variations.
instructionsstringNoReturns the instructions for the agent. This is only returned for agent variations.
judgeConfigurationobjectNoJudge Configuration
keystringYesThe key value
messagesobject[]NoThe messages value
modelobjectNoThe model value
modelConfigKeystringNoModel Config Key
namestringYesThe name value
toolKeysstring[]NoList of tool keys to use for this variation. The latest version of the tool will be used.
toolsobject[]NoList of tools to use for this variation. The latest version of the tool will be used.

launchdarkly_ai_configs_post_aitool

Create an AI tool Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
customParametersobjectNoCustom metadata and configuration for application-level use (not sent to LLM)
descriptionstringNoThe description value
keystringYesThe key value
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
schemaobjectYesJSON Schema defining the tool’s parameters for LLM consumption

launchdarkly_ai_configs_post_model_config

Create an AI model config Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
costPerInputTokennumberNoCost per input token in USD
costPerOutputTokennumberNoCost per output token in USD
customParamsobjectNoCustom Params
iconstringNoIcon for the model
idstringYesIdentifier for the model, for use with third party providers
keystringYesUnique key for the model
namestringYesHuman readable name of the model
paramsobjectNoThe params value
providerstringNoProvider for the model
tagsstring[]NoThe tags value

launchdarkly_ai_configs_post_prompt_snippet

Create a prompt snippet Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
descriptionstringNoThe description value
keystringYesThe key value
maintainerIdstringNoMaintainer Id
maintainerTeamKeystringNoMaintainer Team Key
namestringYesThe name value
tagsstring[]NoThe tags value
textstringYesThe text content of the prompt snippet

launchdarkly_ai_configs_post_restricted_models

Add AI models to the restricted list Parameters:
ParameterTypeRequiredDefaultDescription
projectKeystringYesProject Key
keysstring[]YesThe keys value