/launchdarkly-ai-configs | Type: Application | PCID required: Yes
Tools
launchdarkly_ai_configs_delete_agent_graph
Delete agent graph Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
graphKey | string | Yes | — | Graph Key |
launchdarkly_ai_configs_delete_agent_optimization
Delete an agent optimization Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
launchdarkly_ai_configs_delete_aiconfig
Delete AI Config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
launchdarkly_ai_configs_delete_aiconfig_variation
Delete AI Config variation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
variationKey | string | Yes | — | Variation Key |
launchdarkly_ai_configs_delete_aitool
Delete AI tool Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
toolKey | string | Yes | — | Tool Key |
launchdarkly_ai_configs_delete_model_config
Delete an AI model config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
modelConfigKey | string | Yes | — | Model Config Key |
launchdarkly_ai_configs_delete_prompt_snippet
Delete a prompt snippet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
snippetKey | string | Yes | — | Snippet Key |
launchdarkly_ai_configs_delete_restricted_models
Remove AI models from the restricted list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
keys | string[] | Yes | — | The keys value |
launchdarkly_ai_configs_get_agent_graph
Get agent graph Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
graphKey | string | Yes | — | Graph Key |
launchdarkly_ai_configs_get_agent_optimization
Get an agent optimization Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
launchdarkly_ai_configs_get_aiconfig
Get AI Config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
launchdarkly_ai_configs_get_aiconfig_metrics
Get AI Config metrics Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
from | integer | Yes | — | The starting time, as milliseconds since epoch (inclusive). |
to | integer | Yes | — | The ending time, as milliseconds since epoch (exclusive). May not be more than 100 days after from. |
env | string | Yes | — | An 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
from | integer | Yes | — | The starting time, as milliseconds since epoch (inclusive). |
to | integer | Yes | — | The ending time, as milliseconds since epoch (exclusive). May not be more than 100 days after from. |
env | string | Yes | — | An environment key. Only metrics from this environment will be included. |
launchdarkly_ai_configs_get_aiconfig_quick_stats
Get AI Config quick stats Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
env | string | Yes | — | An environment key. Only metrics from this environment will be included. |
launchdarkly_ai_configs_get_aiconfig_targeting
Show an AI Config’s targeting Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
launchdarkly_ai_configs_get_aiconfig_variation
Get AI Config variation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
variationKey | string | Yes | — | Variation Key |
launchdarkly_ai_configs_get_aiconfigs
List AI Configs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
sort | string | No | — | A sort to apply to the list of AI Configs. |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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. |
filter | string | No | — | A filter to apply to the list. |
launchdarkly_ai_configs_get_aitool
Get AI tool Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
toolKey | string | Yes | — | Tool Key |
launchdarkly_ai_configs_get_model_config
Get AI model config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
modelConfigKey | string | Yes | — | Model Config Key |
launchdarkly_ai_configs_get_prompt_snippet
Get a prompt snippet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
snippetKey | string | Yes | — | Snippet Key |
launchdarkly_ai_configs_list_agent_graphs
List agent graphs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
runId | string | Yes | — | Run Id |
launchdarkly_ai_configs_list_agent_optimizations
List agent optimizations Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
toolKey | string | Yes | — | Tool Key |
sort | string | No | — | A sort to apply to the list of AI Configs. |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
sort | string | No | — | A sort to apply to the list of AI Configs. |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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. |
filter | string | No | — | A filter to apply to the list. |
launchdarkly_ai_configs_list_model_configs
List AI model configs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
restricted | boolean | No | — | Whether to return only restricted models |
launchdarkly_ai_configs_list_prompt_snippet_references
List prompt snippet references Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
snippetKey | string | Yes | — | Snippet Key |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
limit | integer | No | — | The number of resources to return. |
offset | integer | No | — | Where 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
graphKey | string | Yes | — | Graph Key |
description | string | No | — | A description of the agent graph |
edges | object[] | No | — | The edges in the graph. If present, rootConfigKey must also be present. Replaces all existing edges. |
maintainerId | string | No | — | The ID of the member who maintains this agent graph. Pass an empty string to remove maintainer. |
maintainerTeamKey | string | No | — | The key of the team that maintains this agent graph. Pass an empty string to remove maintainer. |
name | string | No | — | A human-readable name for the agent graph |
rootConfigKey | string | No | — | The 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
acceptanceStatements | object[] | No | — | Acceptance Statements |
groundTruthResponses | string[] | No | — | Ground Truth Responses |
judgeModel | string | No | — | Judge Model |
judges | object[] | No | — | The judges value |
maxAttempts | integer | No | — | Max Attempts |
metricKey | string | No | — | Metric Key |
modelChoices | string[] | No | — | Model Choices |
userInputOptions | string[] | No | — | User Input Options |
variableChoices | object[] | No | — | Variable Choices |
launchdarkly_ai_configs_patch_agent_optimization_result
Update an agent optimization result Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
resultId | string | Yes | — | Result Id |
activity | string | No | — | The activity value |
completionResponse | string | No | — | Completion Response |
createdVariationKey | string | No | — | Created Variation Key |
evaluationLatencies | object | No | — | Evaluation Latencies |
evaluationTokens | object | No | — | Evaluation Tokens |
generationLatency | integer | No | — | Generation Latency |
generationTokens | object | No | — | Generation Tokens |
scores | object | No | — | The scores value |
status | string | No | — | The status value |
variation | object | No | — | The variation value |
launchdarkly_ai_configs_patch_aiconfig
Update AI Config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
description | string | No | — | The description value |
evaluationMetricKey | string | No | — | Evaluation metric key for this AI Config |
isInverted | boolean | No | — | Whether the evaluation metric is inverted, meaning a lower value is better if set as true |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
name | string | No | — | The name value |
tags | string[] | No | — | The tags value |
launchdarkly_ai_configs_patch_aiconfig_targeting
Update AI Config targeting Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
comment | string | No | — | The comment value |
environmentKey | string | Yes | — | Environment Key |
instructions | object[] | Yes | — | The instructions value |
launchdarkly_ai_configs_patch_aiconfig_variation
Update AI Config variation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
variationKey | string | Yes | — | Variation Key |
comment | string | No | — | Human-readable description of what this patch changes |
description | string | No | — | Description for agent when AI Config is in agent mode. |
instructions | string | No | — | Instructions for agent when AI Config is in agent mode. |
judgeConfiguration | object | No | — | Judge Configuration |
messages | object[] | No | — | The messages value |
model | object | No | — | The model value |
modelConfigKey | string | No | — | Model Config Key |
name | string | No | — | The name value |
published | boolean | No | — | The published value |
state | string | No | — | One of ‘archived’, ‘published’ |
toolKeys | string[] | No | — | List of tool keys to use for this variation. The latest version of the tool will be used. |
tools | object[] | No | — | List 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
toolKey | string | Yes | — | Tool Key |
customParameters | object | No | — | Custom metadata and configuration for application-level use (not sent to LLM) |
description | string | No | — | The description value |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
schema | object | No | — | JSON Schema defining the tool’s parameters for LLM consumption |
launchdarkly_ai_configs_patch_prompt_snippet
Update a prompt snippet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
snippetKey | string | Yes | — | Snippet Key |
description | string | No | — | The description value |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
name | string | No | — | The name value |
tags | string[] | No | — | The tags value |
text | string | No | — | The text content of the prompt snippet |
launchdarkly_ai_configs_post_agent_graph
Create new agent graph Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
description | string | No | — | A description of the agent graph |
edges | object[] | No | — | The edges in the graph. If edges or rootConfigKey is present, both must be present. |
key | string | Yes | — | A unique key for the agent graph |
maintainerId | string | No | — | The ID of the member who maintains this agent graph |
maintainerTeamKey | string | No | — | The key of the team that maintains this agent graph |
name | string | Yes | — | A human-readable name for the agent graph |
rootConfigKey | string | No | — | The 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
acceptanceStatements | object[] | No | — | Acceptance Statements |
aiConfigKey | string | Yes | — | Ai Config Key |
groundTruthResponses | string[] | No | — | Ground Truth Responses |
judgeModel | string | Yes | — | Judge Model |
judges | object[] | No | — | The judges value |
key | string | Yes | — | The key value |
maxAttempts | integer | Yes | — | Max Attempts |
metricKey | string | No | — | Metric Key |
modelChoices | string[] | No | — | Model Choices |
userInputOptions | string[] | No | — | User Input Options |
variableChoices | object[] | No | — | Variable Choices |
launchdarkly_ai_configs_post_agent_optimization_result
Create agent optimization result Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
optimizationKey | string | Yes | — | Optimization Key |
agentOptimizationVersion | integer | Yes | — | Agent Optimization Version |
instructions | string | Yes | — | The instructions value |
iteration | integer | Yes | — | The iteration value |
parameters | object | No | — | The parameters value |
runId | string | Yes | — | Run Id |
userInput | string | Yes | — | User Input |
launchdarkly_ai_configs_post_aiconfig
Create new AI Config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
defaultVariation | object | No | — | Default Variation |
description | string | No | — | The description value |
evaluationMetricKey | string | No | — | Evaluation metric key for this AI Config |
isInverted | boolean | No | — | Whether the evaluation metric is inverted, meaning a lower value is better if set as true |
key | string | Yes | — | The key value |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
mode | string | No | — | The mode value |
name | string | Yes | — | The name value |
tags | string[] | No | — | The tags value |
launchdarkly_ai_configs_post_aiconfig_variation
Create AI Config variation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
configKey | string | Yes | — | Config Key |
comment | string | No | — | Human-readable description of this variation |
description | string | No | — | Returns the description for the agent. This is only returned for agent variations. |
instructions | string | No | — | Returns the instructions for the agent. This is only returned for agent variations. |
judgeConfiguration | object | No | — | Judge Configuration |
key | string | Yes | — | The key value |
messages | object[] | No | — | The messages value |
model | object | No | — | The model value |
modelConfigKey | string | No | — | Model Config Key |
name | string | Yes | — | The name value |
toolKeys | string[] | No | — | List of tool keys to use for this variation. The latest version of the tool will be used. |
tools | object[] | No | — | List 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:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
customParameters | object | No | — | Custom metadata and configuration for application-level use (not sent to LLM) |
description | string | No | — | The description value |
key | string | Yes | — | The key value |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
schema | object | Yes | — | JSON Schema defining the tool’s parameters for LLM consumption |
launchdarkly_ai_configs_post_model_config
Create an AI model config Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
costPerInputToken | number | No | — | Cost per input token in USD |
costPerOutputToken | number | No | — | Cost per output token in USD |
customParams | object | No | — | Custom Params |
icon | string | No | — | Icon for the model |
id | string | Yes | — | Identifier for the model, for use with third party providers |
key | string | Yes | — | Unique key for the model |
name | string | Yes | — | Human readable name of the model |
params | object | No | — | The params value |
provider | string | No | — | Provider for the model |
tags | string[] | No | — | The tags value |
launchdarkly_ai_configs_post_prompt_snippet
Create a prompt snippet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
description | string | No | — | The description value |
key | string | Yes | — | The key value |
maintainerId | string | No | — | Maintainer Id |
maintainerTeamKey | string | No | — | Maintainer Team Key |
name | string | Yes | — | The name value |
tags | string[] | No | — | The tags value |
text | string | Yes | — | The text content of the prompt snippet |
launchdarkly_ai_configs_post_restricted_models
Add AI models to the restricted list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectKey | string | Yes | — | Project Key |
keys | string[] | Yes | — | The keys value |

