provider AI Configs PATCH /api/v2/projects/{projectKey}/ai-configs/{configKey}
@utdk/launchdarkly /api/v2/projects/{projectKey}/ai-configs/{configKey}
Update AI Config
Edit an existing AI Config. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { "description": "Example updated description", "tags": ["new-tag"] } ```
projectKey path required
string
configKey path required
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
patchaiconfig
PATCH/api/v2/projects/{projectKey}/ai-configs/{configKey}
Edit an existing AI Config. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { "description": "Example updated description", "tags": ["new-tag"] } ```

Parameters

required
required

Input

Evaluation metric key for this AI Config

Whether the evaluation metric is inverted, meaning a lower value is better if set as true

Configure credentials above to enable sending.

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

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.patchaiconfig()