Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
258 changes: 207 additions & 51 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

153 changes: 109 additions & 44 deletions README.md

Large diffs are not rendered by default.

17,001 changes: 10,560 additions & 6,441 deletions api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def centralPortalPassword = hasProperty('centralPortalPassword') ? centralPortal

allprojects {
group = 'com.launchdarkly'
version = '24.0.0'
version = '25.0.0'
archivesBaseName = 'api-client'
sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.launchdarkly",
name := "api-client",
version := "24.0.0",
version := "25.0.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
15 changes: 8 additions & 7 deletions docs/AIConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
|------------ | ------------- | ------------- | -------------|
|**access** | [**AiConfigsAccess**](AiConfigsAccess.md) | | [optional] |
|**links** | [**ParentAndSelfLinks**](ParentAndSelfLinks.md) | | [optional] |
|**description** | **String** | | |
|**key** | **String** | | |
|**site** | [**CoreLink**](CoreLink.md) | | [optional] |
|**description** | **String** | A description of the AI Config | |
|**key** | **String** | The AI Config key | |
|**maintainer** | [**AIConfigMaintainer**](AIConfigMaintainer.md) | | [optional] |
|**mode** | [**ModeEnum**](#ModeEnum) | | [optional] |
|**name** | **String** | | |
|**tags** | **List<String>** | | |
|**version** | **Integer** | | |
|**variations** | [**List<AIConfigVariation>**](AIConfigVariation.md) | | |
|**mode** | [**ModeEnum**](#ModeEnum) | The AI Config mode | [optional] |
|**name** | **String** | The AI Config name | |
|**tags** | **List<String>** | Tags for this resource | |
|**version** | **Integer** | The version number of this resource | |
|**variations** | [**List<AIConfigVariation>**](AIConfigVariation.md) | The variations of this AI Config | |
|**createdAt** | **Long** | | |
|**updatedAt** | **Long** | | |
|**evaluationMetricKey** | **String** | Evaluation metric key for this config | [optional] |
Expand Down
15 changes: 8 additions & 7 deletions docs/AIConfigMaintainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

# AIConfigMaintainer

The member or team that maintains this resource

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**kind** | **String** | | |
|**id** | **String** | | |
|**email** | **String** | | |
|**firstName** | **String** | | [optional] |
|**lastName** | **String** | | [optional] |
|**role** | **String** | | |
|**key** | **String** | | |
|**name** | **String** | | |
|**id** | **String** | The member ID | |
|**email** | **String** | The member email address | |
|**firstName** | **String** | The member first name | [optional] |
|**lastName** | **String** | The member last name | [optional] |
|**role** | **String** | The member role | |
|**key** | **String** | The team key | |
|**name** | **String** | The team name | |



11 changes: 6 additions & 5 deletions docs/AIConfigPatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**description** | **String** | | [optional] |
|**maintainerId** | **String** | | [optional] |
|**maintainerTeamKey** | **String** | | [optional] |
|**name** | **String** | | [optional] |
|**tags** | **List<String>** | | [optional] |
|**defaultVariationKey** | **String** | Key of the variation this config serves by default | [optional] |
|**description** | **String** | A description of the AI Config | [optional] |
|**maintainerId** | **String** | The ID of the member who maintains this resource | [optional] |
|**maintainerTeamKey** | **String** | The key of the team that maintains this resource | [optional] |
|**name** | **String** | A human-readable name for the AI Config | [optional] |
|**tags** | **List<String>** | Tags for this resource | [optional] |
|**evaluationMetricKey** | **String** | Evaluation metric key for this config | [optional] |
|**isInverted** | **Boolean** | Whether the evaluation metric is inverted, meaning a lower value is better if set as true | [optional] |

Expand Down
16 changes: 8 additions & 8 deletions docs/AIConfigPost.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**description** | **String** | | [optional] |
|**key** | **String** | | |
|**maintainerId** | **String** | | [optional] |
|**maintainerTeamKey** | **String** | | [optional] |
|**mode** | [**ModeEnum**](#ModeEnum) | | [optional] |
|**name** | **String** | | |
|**tags** | **List<String>** | | [optional] |
|**viewKeys** | **List<String>** | | [optional] |
|**description** | **String** | A description of the AI Config | [optional] |
|**key** | **String** | A unique key for the AI Config | |
|**maintainerId** | **String** | The ID of the member who maintains this resource | [optional] |
|**maintainerTeamKey** | **String** | The key of the team that maintains this resource | [optional] |
|**mode** | [**ModeEnum**](#ModeEnum) | The AI Config mode | [optional] |
|**name** | **String** | A human-readable name for the AI Config | |
|**tags** | **List<String>** | Tags for this resource | [optional] |
|**viewKeys** | **List<String>** | Keys of the views to add the AI Config to | [optional] |
|**defaultVariation** | [**AIConfigVariationPost**](AIConfigVariationPost.md) | | [optional] |
|**evaluationMetricKey** | **String** | Evaluation metric key for this config | [optional] |
|**isInverted** | **Boolean** | Whether the evaluation metric is inverted, meaning a lower value is better if set as true | [optional] |
Expand Down
12 changes: 6 additions & 6 deletions docs/AIConfigTargeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
|------------ | ------------- | ------------- | -------------|
|**createdAt** | **Long** | Unix timestamp in milliseconds | |
|**defaults** | [**AIConfigTargetingDefaults**](AIConfigTargetingDefaults.md) | | [optional] |
|**environments** | [**Map<String, AIConfigTargetingEnvironment>**](AIConfigTargetingEnvironment.md) | | |
|**environments** | [**Map<String, AIConfigTargetingEnvironment>**](AIConfigTargetingEnvironment.md) | Targeting for each environment, keyed by environment key | |
|**experiments** | [**AiConfigsExperimentInfoRep**](AiConfigsExperimentInfoRep.md) | | |
|**key** | **String** | | |
|**name** | **String** | | |
|**tags** | **List<String>** | | |
|**variations** | [**List<AIConfigTargetingVariation>**](AIConfigTargetingVariation.md) | | |
|**version** | **Integer** | | |
|**key** | **String** | The AI Config key | |
|**name** | **String** | The AI Config name | |
|**tags** | **List<String>** | Tags for this resource | |
|**variations** | [**List<AIConfigTargetingVariation>**](AIConfigTargetingVariation.md) | The variations of this AI Config | |
|**version** | **Integer** | The version number of this resource | |



4 changes: 2 additions & 2 deletions docs/AIConfigTargetingDefaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**onVariation** | **Integer** | | |
|**offVariation** | **Integer** | | |
|**onVariation** | **Integer** | Index of the variation served when targeting is on | |
|**offVariation** | **Integer** | Index of the variation served when targeting is off | |



18 changes: 9 additions & 9 deletions docs/AIConfigTargetingEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**contextTargets** | [**List<AIConfigTargetingEnvironmentTarget>**](AIConfigTargetingEnvironmentTarget.md) | | |
|**enabled** | **Boolean** | | |
|**contextTargets** | [**List<AIConfigTargetingEnvironmentTarget>**](AIConfigTargetingEnvironmentTarget.md) | Individual context targets for non-user context kinds | |
|**enabled** | **Boolean** | Whether targeting is on in this environment | |
|**fallthrough** | [**AIConfigTargetingEnvironmentFallthrough**](AIConfigTargetingEnvironmentFallthrough.md) | | |
|**lastModified** | **Long** | | |
|**offVariation** | **Integer** | | [optional] |
|**rules** | [**List<AIConfigTargetingEnvironmentRule>**](AIConfigTargetingEnvironmentRule.md) | | |
|**targets** | [**List<AIConfigTargetingEnvironmentTarget>**](AIConfigTargetingEnvironmentTarget.md) | | |
|**trackEvents** | **Boolean** | | |
|**trackEventsFallthrough** | **Boolean** | | |
|**environmentName** | **String** | | |
|**version** | **Integer** | | |
|**offVariation** | **Integer** | Index of the variation served when targeting is off | [optional] |
|**rules** | [**List<AIConfigTargetingEnvironmentRule>**](AIConfigTargetingEnvironmentRule.md) | The targeting rules | |
|**targets** | [**List<AIConfigTargetingEnvironmentTarget>**](AIConfigTargetingEnvironmentTarget.md) | Individual user targets | |
|**trackEvents** | **Boolean** | Whether to send detailed events for all evaluations | |
|**trackEventsFallthrough** | **Boolean** | Whether to send detailed events for evaluations that fall through to the default rule | |
|**environmentName** | **String** | The environment name | |
|**version** | **Integer** | The version of the targeting in this environment | |



2 changes: 1 addition & 1 deletion docs/AIConfigTargetingEnvironmentFallthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**variation** | **Integer** | | [optional] |
|**variation** | **Integer** | Index of the variation served by the default rule | [optional] |
|**rollout** | [**AIConfigTargetingEnvironmentFallthroughRollout**](AIConfigTargetingEnvironmentFallthroughRollout.md) | | [optional] |


Expand Down
8 changes: 4 additions & 4 deletions docs/AIConfigTargetingEnvironmentFallthroughRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**bucketBy** | **String** | | [optional] |
|**contextKind** | **String** | | |
|**bucketBy** | **String** | The context attribute used to bucket contexts | [optional] |
|**contextKind** | **String** | The context kind used to bucket contexts | |
|**experimentAllocation** | [**AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation**](AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation.md) | | [optional] |
|**seed** | **Integer** | | [optional] |
|**variations** | [**List<AIConfigTargetingEnvironmentFallthroughRolloutVariation>**](AIConfigTargetingEnvironmentFallthroughRolloutVariation.md) | | |
|**seed** | **Integer** | The seed used for bucketing | [optional] |
|**variations** | [**List<AIConfigTargetingEnvironmentFallthroughRolloutVariation>**](AIConfigTargetingEnvironmentFallthroughRolloutVariation.md) | The variations and their weights | |



Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**canReshuffle** | **Boolean** | | |
|**defaultVariation** | **Integer** | | |
|**type** | **String** | | |
|**canReshuffle** | **Boolean** | Whether contexts can be reassigned to new buckets | |
|**defaultVariation** | **Integer** | Index of the default variation | |
|**type** | **String** | The allocation type | |



Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**untracked** | **Boolean** | | [optional] |
|**variation** | **Integer** | | |
|**weight** | **Integer** | | |
|**untracked** | **Boolean** | Whether this variation is excluded from experiment tracking | [optional] |
|**variation** | **Integer** | Index of the variation | |
|**weight** | **Integer** | The weight of this variation, in thousandths of a percent | |



4 changes: 2 additions & 2 deletions docs/AIConfigTargetingEnvironmentRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**clauses** | [**List<AIConfigTargetingEnvironmentRuleClause>**](AIConfigTargetingEnvironmentRuleClause.md) | | |
|**trackEvents** | **Boolean** | | |
|**clauses** | [**List<AIConfigTargetingEnvironmentRuleClause>**](AIConfigTargetingEnvironmentRuleClause.md) | The clauses a context must match | |
|**trackEvents** | **Boolean** | Whether to send detailed events for evaluations that match this rule | |



10 changes: 5 additions & 5 deletions docs/AIConfigTargetingEnvironmentRuleClause.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**attribute** | **String** | | |
|**id** | **String** | | |
|**negate** | **Boolean** | | |
|**op** | **String** | | |
|**values** | **List<Object>** | | |
|**attribute** | **String** | The context attribute to match | |
|**id** | **String** | The clause ID | |
|**negate** | **Boolean** | Whether to negate the match | |
|**op** | **String** | The operator to use | |
|**values** | **List<Object>** | The values to match against | |



6 changes: 3 additions & 3 deletions docs/AIConfigTargetingEnvironmentTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**contextKind** | **String** | | |
|**values** | **List<String>** | | |
|**variation** | **Integer** | | |
|**contextKind** | **String** | The context kind | |
|**values** | **List<String>** | The context keys to target | |
|**variation** | **Integer** | Index of the variation to serve | |



6 changes: 3 additions & 3 deletions docs/AIConfigTargetingPatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**comment** | **String** | | [optional] |
|**environmentKey** | **String** | | |
|**instructions** | **List<Map<String, Object>>** | | |
|**comment** | **String** | A comment describing the change | [optional] |
|**environmentKey** | **String** | The environment key | |
|**instructions** | **List<Map<String, Object>>** | The semantic patch instructions to apply | |



6 changes: 3 additions & 3 deletions docs/AIConfigTargetingVariation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | | |
|**description** | **String** | | |
|**name** | **String** | | |
|**id** | **String** | The variation ID | |
|**description** | **String** | A description of the variation | |
|**name** | **String** | The variation name | |
|**value** | [**AIConfigTargetingVariationValue**](AIConfigTargetingVariationValue.md) | | |


Expand Down
1 change: 1 addition & 0 deletions docs/AIConfigTargetingVariationValue.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# AIConfigTargetingVariationValue

The variation value

## Properties

Expand Down
37 changes: 24 additions & 13 deletions docs/AIConfigVariation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,37 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**links** | [**ParentLink**](ParentLink.md) | | [optional] |
|**color** | **String** | | [optional] |
|**comment** | **String** | | [optional] |
|**color** | **String** | The color used for this variation in the UI | [optional] |
|**classifiers** | [**List<Classifier>**](Classifier.md) | Classifier rules for a judge variation. When this array is non-empty, messages must be empty. | [optional] |
|**comment** | **String** | A comment describing this version of the variation | [optional] |
|**description** | **String** | Returns the description for the agent. This is only returned for agent variations. | [optional] |
|**instructions** | **String** | Returns the instructions for the agent. This is only returned for agent variations. | [optional] |
|**key** | **String** | | |
|**id** | **String** | | |
|**messages** | [**List<Message>**](Message.md) | | [optional] |
|**model** | **Object** | | |
|**modelConfigKey** | **String** | | [optional] |
|**name** | **String** | | |
|**key** | **String** | The variation key | |
|**id** | **String** | The variation ID | |
|**messages** | [**List<Message>**](Message.md) | The prompt messages for this variation | [optional] |
|**model** | **Object** | Freeform JSON object. LaunchDarkly does not validate the keys. In a model config, `params` and `customParams` hold parameters that the provider's API accepts, for example `{\"temperature\": 0.7, \"maxTokens\": 4096}`. | |
|**modelConfigKey** | **String** | The key of the model config that this variation uses, not the provider model ID. Absent when the variation does not use a model config. | [optional] |
|**modelConfigVersion** | **Integer** | The version of the model config that this variation is pinned to, when it references a custom model config. Absent when the variation does not reference a model config, when the variation is not pinned to a specific version, or when custom model config versioning is not enabled for the project. | [optional] |
|**name** | **String** | The variation name | |
|**outputFormat** | **Map<String, Object>** | JSON Schema defining the structured output format for the variation. | [optional] |
|**createdAt** | **Long** | | |
|**version** | **Integer** | | |
|**state** | **String** | | [optional] |
|**version** | **Integer** | The version number of this resource | |
|**state** | [**StateEnum**](#StateEnum) | The state of the variation. - `archived`: The variation is archived. To restore it, update the variation with `state` set to `published`. - `published`: The variation is active. | [optional] |
|**archivedAt** | **Long** | | [optional] |
|**publishedAt** | **Long** | | [optional] |
|**tools** | [**List<VariationTool>**](VariationTool.md) | | [optional] |
|**skills** | [**List<VariationSkill>**](VariationSkill.md) | | [optional] |
|**tools** | [**List<VariationTool>**](VariationTool.md) | The tools this variation can use | [optional] |
|**skills** | [**List<VariationSkill>**](VariationSkill.md) | The agent skills this variation can use | [optional] |
|**judgeConfiguration** | [**JudgeConfiguration**](JudgeConfiguration.md) | | [optional] |
|**judgingConfigKeys** | **List<String>** | | [optional] |
|**judgingConfigKeys** | **List<String>** | Keys of the judge AI Configs attached to this variation | [optional] |



## Enum: StateEnum

| Name | Value |
|---- | -----|
| ARCHIVED | "archived" |
| PUBLISHED | "published" |



Loading
Loading