postaiconfigvariationrequest.md•8.84 kB
# PostAIConfigVariationRequest
## Example Usage
```typescript
import { PostAIConfigVariationRequest } from "@launchdarkly/mcp-server/models/operations";
let value: PostAIConfigVariationRequest = {
ldAPIVersion: "beta",
projectKey: "<value>",
configKey: "<value>",
aiConfigVariationPost: {
comment: "comment",
description: "description",
instructions: "instructions",
key: "key",
messages: [
{
content: "content",
role: "role",
},
{
content: "content",
role: "role",
},
],
model: {},
name: "name",
modelConfigKey: "modelConfigKey",
},
};
```
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ldAPIVersion` | [operations.PostAIConfigVariationLDAPIVersion](../../models/operations/postaiconfigvariationldapiversion.md) | :heavy_check_mark: | Version of the endpoint. | |
| `projectKey` | *string* | :heavy_check_mark: | N/A | |
| `configKey` | *string* | :heavy_check_mark: | N/A | |
| `aiConfigVariationPost` | [components.AIConfigVariationPost](../../models/components/aiconfigvariationpost.md) | :heavy_check_mark: | AI Config variation object to create | {<br/>"instructions": "instructions",<br/>"name": "name",<br/>"description": "description",<br/>"messages": [<br/>{<br/>"role": "role",<br/>"content": "content"<br/>},<br/>{<br/>"role": "role",<br/>"content": "content"<br/>}<br/>],<br/>"comment": "comment",<br/>"model": "{}",<br/>"modelConfigKey": "modelConfigKey",<br/>"key": "key"<br/>} |