Create AI Config variation
Create a new variation for a given AI Config.
The model
in the request body requires a modelName
and parameters
, for example:
Path parameters
projectKey
configKey
Headers
Authorization
LD-API-Version
Version of the endpoint.
Request
This endpoint expects an object.
key
messages
name
comment
Human-readable description of this variation
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.
model
modelConfigKey
Response
AI Config variation created
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