Update AI Config variation
Edit an existing variation of an AI Config. This creates a new version of the variation.
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:
Path parameters
projectKey
configKey
variationKey
Headers
Authorization
LD-API-Version
Version of the endpoint.
Request
This endpoint expects an object.
comment
Human-readable description of what this patch changes
description
Description for agent when AI Config is in agent mode.
instructions
Instructions for agent when AI Config is in agent mode.
messages
model
modelConfigKey
name
published
state
One of 'archived', 'published'
Response
AI Config variation updated
key
_id
model
name
createdAt
version
_links
color
comment
description
Returns the description for the agent. This is only returned for agent variations.
instructions
Returns the instructions for the agent. This is only returned for agent variations.
messages
modelConfigKey
state
_archivedAt
_publishedAt