Releases: launchdarkly/api-client-python
v18.1.0
Added
- 
Added tagsfield to experiment POST request as optional body field. Tags are an array of strings.
- 
Added tagsfield to experiment responses. For individual experiment GET requests (GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}), thetagsfield is now always included in the response. For list experiment GET requests (GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments), thetagsfield can be included by addingexpand=tagsto the query parameters.
Removed
Changed
Bug Fixes
v18.0.2
Added
- Added lastUsedInExperimentandlastUsedInGuardedRolloutfields to metric group responses. These fields appear in the following endpoints:- GET /api/v2/projects/{projectKey}/metric-groups
- POST /api/v2/projects/{projectKey}/metric-groups
- GET /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}
- PATCH /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}
 
Removed
Changed
- Made the messagesfield optional in the request body ofPOST /api/v2/projects/{projectKey}/ai-configs/{configKey}/variations. Validation is now mode-dependent: completion/judge mode requiresmessages, while agent mode rejectsmessages.
- Removed the beta tag from PATCH /api/v2/members
v18.0.1
Added
- 
Added 'covarianceInfo' field to Iteration response to show details of the covariance file used for stratified sampling 
- 
Added judgeConfigurationfield to AI Config variations for attaching judge AI configs with sampling rates. This field is available in variation-related endpoints
- 
Added judgingConfigKeysfield to AI Config judge variation responses to show which AI configs this judge is evaluating
- 
Added imageUrlfield to experiment treatment response inTreatmentRepschema (feature flagged and hidden from public documentation). This field will appear in the following endpoints once theenable-experimentation-treatment-imagesfeature flag is enabled:- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments
- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}
- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations
- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}
 
- 
Moved selectors, URLs to a different part of the Metrics object (no changes visible to consumers) 
- 
Added GET /api/v2/projects/{projectKey}/ai-configs/{configKey}/targetingendpoint
- 
Added PATCH /api/v2/projects/{projectKey}/ai-configs/{configKey}/targetingendpoint
- 
Added new AI tools endpoints for managing AI tools within a project: - POST /api/v2/projects/{projectKey}/ai-tools(Create AI tool)
- GET /api/v2/projects/{projectKey}/ai-tools(List AI tools)
- GET /api/v2/projects/{projectKey}/ai-tools/{toolKey}(Get AI tool)
- PATCH /api/v2/projects/{projectKey}/ai-tools/{toolKey}(Update AI tool)
- DELETE /api/v2/projects/{projectKey}/ai-tools/{toolKey}(Delete AI tool)
 
- 
Marked keyas not required forPOST /api/v2/api/v2/metrics/projects/{projectKey}/metric-groups. It is still required forfunnelorstandardgroups, but can be omitted forguardrailgroups.
- 
Added type guardrailto metric groups data model, and toPOST /api/v2/api/v2/metrics/projects/{projectKey}/metric-groupsandGET /api/v2/metrics/projects/{projectKey}/metric-groupsfilter
- 
Added new endpoint to update approval request settings PATCH /api/v2/approval-requests/projects/{projectKey}/settings
- 
Added new endpoint to retrieve approval request settings GET /api/v2/approval-requests/projects/{projectKey}/settings
- 
Added _idto AI Config variations models
- 
Added modefield to AI Config with enum valuesagentandcompletion(default:completion)
- 
Added instructionsanddescriptionfields to AI Config variations
- 
Added judgemode to AI Config for evaluation and assessment use cases
- 
Added conditional API behavior for AI Config variations based on mode: agent mode returns instructions/descriptionand excludesmessages, completion mode returnsmessagesand excludesinstructions/description
- 
Added new fields to input request body of POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experimentsendpoint- type
- reallocationFrequencyMillis
 
- 
Added new fields to Experiment response - reallocationFrequencyMillis
- updatedAt
- version
 
- 
Added new fields to input request body of POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations- type
- reallocationFrequencyMillis
 
- 
Added new fields to the Iteration response - reallocationFrequencyMillis
- updatedAt
- version
 
- 
Added new endpoints to manage restricting AI models - POST /api/v2/projects/{projectKey}/ai-configs/model-configs/restricted
- DELETE /api/v2/projects/{projectKey}/ai-configs/model-configs/restricted
 
- 
Added the isRestrictedproperty to the AI model configs response to indicate model restriction status
- 
Added the filtersproperty to the Metric response
- 
Added the commentproperty to the AI Configs Variation to document changes in each version
- 
Added optional isFlagOnboolean parameter to flag creation API to allow automatic flag activation across all environments
- 
Added aiConfigfield to approval-request response
- 
Added optional audience.releaseGuardianConfiguration.metricsfield of typeMeasuredRolloutMetricto the input request body ofPUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}.
- 
Added new field to input request body of POST /api/v2/metrics/{projectKey}- filters
 
- 
Added an optional dataSourceproperty to the Metric endpoint requests and responses to support warehouse native metrics
- 
Added observability usage endpoints - GET /api/v2/usage/observability/sessions
- GET /api/v2/usage/observability/errors
- GET /api/v2/usage/observability/logs
- GET /api/v2/usage/observability/traces
 
- 
Added bigqueryanddatabricksdestination kinds toDestinationandDestinationPostreps
- 
Added views endpoints for managing views within a project, and updated their descriptions - GET /api/v2/projects/{projectKey}/views
- POST /api/v2/projects/{projectKey}/views
- GET /api/v2/projects/{projectKey}/views/{viewKey}
- DELETE /api/v2/projects/{projectKey}/views/{viewKey}
- PATCH /api/v2/projects/{projectKey}/views/{viewKey}
- POST /api/v2/projects/{projectKey}/views/{viewKey}/link/{resourceType}
- DELETE /api/v2/projects/{projectKey}/views/{viewKey}/link/{resourceType}
- GET /api/v2/projects/{projectKey}/views/{viewKey}/linked/{resourceType}
- GET /api/v2/projects/{projectKey}/view-associations/{resourceType}/{resourceKey}
 
- 
Added documentation for existing possible 409 response from PUT /api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{contextKind}/{contextKey}/flags/{featureFlagKey}
- 
Added archived metrics support with new fields and lifecycle state filtering: - Added archived(boolean) andarchivedAt(timestamp) fields to Metric responses
- Added lifecycleStatefilter parameter toGET /api/v2/metrics/{projectKey}endpoint using syntaxfilter=lifecycleState equals activeorfilter=lifecycleState equals archived(defaults to active metrics when no filter is provided)
- Added support for PATCH /api/v2/metrics/{projectKey}/{metricKey}to update archived status
- Added business logic validation to prevent archiving metrics in active experiments, rollouts, or groups
- Added UpdateMetricArchivedRBAC action for controlling archive permissions
 
- Added 
- 
GET /api/v2/usage/service-connections- Added optional connectionTypestring parameter
- Added optional relayVersionstring parameter
- Added optional sdkNamestring parameter
- Added optional sdkVersionstring parameter
- Added optional sdkTypestring parameter
- Added optional aggregationTypestring parameter
- Added optional granularitystring parameter
- Added optional groupBystring parameter
 
- Added optional 
- 
GET /api/v2/usage/data-export-events- Added optional eventKindstring parameter
- Added optional aggregationTypestring parameter
- Added optional granularitystring parameter
- Added optional groupBystring parameter
 
- Added optional 
- 
GET /api/v2/usage/experimentation-keys- Added optional experimentIdstring parameter
- Added optional aggregationTypestring parameter
- Added optional granularitystring parameter
- Added optional groupBystring parameter
 
- Added optional 
- 
GET /internal/comments
- 
POST /internal/comments
- 
DELETE /internal/comments
- 
Added _versionfield toMetricListingRepfor optimistic locking support in metric archive/restore operations
- 
Added activeExperimentCountfield toMetricListingRepto show the number of active experiments using the metric
- 
Added activeGuardedRolloutCountfield toMetricListingRepto show the number of active guarded rollouts using the metric
- 
Added GET /api/v2/usage/experimentation-eventsendpoint
- 
Added lastUsedInExperimentfield toMetricRepto show the most recent experiment that used this metric (usesDependentExperimentReptype with fields:_links,creationDate,environmentId,environmentKey,key,name,archivedDate)
- 
Added lastUsedInGuardedRolloutfield toMetricRepto show the most recent guarded rollout that used this metric (usesDependentMeasuredRolloutReptype with fields:_id,_links,creationDate,environmentKey,environmentName,flagKey,flagName,status)
- 
Added lastUsedInEntityexpand parameter toGET /api/v2/metrics/{projectKey}/{metricKey}endpoint
- 
Added new release policies beta endpoints: 
- 
GET /api/v2/projects/{projectKey}/release-policies
- 
POST /api/v2/projects/{projectKey}/release-policies
- 
PUT /api/v2/projects/{projectKey}/release-policies
- 
PUT /api/v2/projects/{projectKey}/release-policies/{policyId}
- 
DELETE /api/v2/projects/{projectKey}/release-policies/{policyId}
- 
Added new creationConfigfield to integration approval conditions on custom workflow rep to support the use of Custom Approvals
- 
GET /api/v2/usage/clientside-contexts
- 
GET /api/v2/usage/serverside-contexts
- 
GET /api/v2/usage/total-contexts
- 
Added eventKeyfield to theMetricV2Rep,MetricInGroupRep, andDependentMetricOrMetricGroupRepto expose the event key sent with custom metrics
- 
Added TotalConnectionsCount,TotalActiveConnectionsCounttoMetricGroupRepExpandablePropertiesto show total connections and total activ...
v17.2.0
Added
- Added a new maintainerIdfield to the input request body of thePOST /api/v2/metrics/{projectKey}endpoint
- Added a new resourceCategoryfield to the rep returned by custom roles endpoints and the custom role post body
- Added new _presetBundleVersionand_presetStatementsfields to the rep returned by custom roles endpoints
- Added new query params, aggregationType and contextKind, to the GET /api/v2/usage/mau endpoint
- Added a new assignedToexpand parameter toGET /api/v2/rolesandGET /api/v2/roles/{customRoleKey}
- Added fifteen new AI Configs (beta)endpoints for working with AI Configs, AI Config variations, and AI model configs
- Added documentation for the roleAttributesfield andexpandquery parameter on the following endpoints:- GET /api/v2/members
- GET /api/v2/members/{memberId}
- GET /api/v2/teams
- GET /api/v2/teams/{teamKey}
 
- Added documentation for patching the roleAttributesfield on thePATCH /api/v2/teams/{teamKey}endpoint
- Added a new categoryfield to the Metric response.
- Added new public endpoints for working with announcements:
- GET /api/v2/announcements
- POST /api/v2/announcements
- PATCH /api/v2/announcements/{announcementId}
- DELETE /api/v2/announcements/{announcementId}
 
- Added a new 'sort' query parameter to GET /api/v2/metric-groups/{projectKey}
- Updated the 'filter' query parameter of GET /api/v2/metric-groups/{projectKey}to include 'kind' as a valid option
- Added new satisfactionRatingfield to AI Configs metrics endpoints.
- Added new costPerInputTokenandcostPerInputTokenfields to AI Configs Models.
- Added new cost metrics to AI Configs Metrics.
- Added new endpoint for generating an RSA key pair in order to create a new data warehouse destination
- POST /api/v2/destinations/generate-warehouse-destination-key-pair
 
Removed
- Removed legacy experiment results endpoint GET /api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey}}
- Removed obsolete isActivefield from endpointPOST /api/v2/metrics/{projectKey}
Changed
- Updated the Data Export destination endpoints to include a new destination kind
- Expose waitOnApprovalsrequest parameter onPOST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports
- Updated the ApprovalRequestResponse type to optionally include resourceKind
- Removed the beta tag from the following endpoints
- POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports
- GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID}
- POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports
- GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}
 
- Make environmentsoptional on :- GET /api/v2/flags/{projectKey}(List flags)
- POST /api/v2/flags/{projectKey}(Create flag)
- GET /api/v2/flags/{projectKey}/{featureFlagKey}(Get flag)
- PATCH /api/v2/flags/{projectKey}/{featureFlagKey}(Patch flag)
- POST /api/v2/flags/{projectKey}/{featureFlagKey}/copy(Copy flag)
 
- Added a list of valid values to the Importtype returned by theGET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}endpoint
v17.1.0
Added
- Added a roleAttributesfield to thePOST /api/v2/teamsendpoint (Create team)
- Updated the request body type on PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}
- Added new endpoints for working with integration configurations:
- POST /api/v2/integration-configurations/keys/{integrationKey}(Create integration configuration)
- GET /api/v2/integration-configurations/keys/{integrationKey}(Get all configurations for the integration)
- GET /api/v2/integration-configurations/{integrationConfigurationId}(Get an integration configuration)
- PATCH /api/v2/integration-configurations/{integrationConfigurationId}(Update integration configuration)
- DELETE /api/v2/integration-configurations/{integrationConfigurationId}(Delete integration configuration)
 
- Added the new endpoint PATCH /api/v2/approval-requests/{id}
- Added a new endpoint in beta PUT /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}
- Expose roleAttributeson the Team type
- Expose totalCountin paginated roles API response
Removed
- Removed the unused bakeTimeDurationMsfield from endpoints that return release and release pipeline details. These endpoints are currently in beta.
- Removed the beta endpoint PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}
Changed
- Updated environmentin the following beta endpoints to no longer be required, in order to account for deleted environments:- GET /api/v2/flags/{projectKey}/{flagKey}/release
- PATCH /api/v2/flags/{projectKey}/{flagKey}/release
- PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release
- PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}
- GET /api/v2/projects/{projectKey}/release-pipelines
- POST /api/v2/projects/{projectKey}/release-pipelines
- GET /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}
- PATCH /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}
 
- Renamed the /api/v2/integration-capabilities/big-segment-storeendpoints to use thePersistent store integrations (beta)tag. Previously they used theIntegrations (beta)tag. If you use a generated client library, the package names have changed for the following endpoints:- GET /api/v2/integration-capabilities/big-segment-store(List all big segment store integrations)
- POST /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}(Create big segment store integration)
- GET /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}(Get big segment store integration by ID)
- PATCH /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}(Update big segment store integration)
- DELETE /api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}(Delete big segment store integration)
 
- Renamed the /api/v2/integration-capabilities/flag-importendpoints to use theFlag import configurations (beta)tag. Previously they used theIntegrations (beta)tag. If you use a generated client library, the package names have changed for the following endpoints:- GET /api/v2/integration-capabilities/flag-import(List all flag import configurations)
- POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}(Create a flag import configuration)
- GET /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Get a single flag import configuration)
- PATCH /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Update a flag import configuration)
- DELETE /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Delete a flag import configuration)
- POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger(Trigger a single flag import run)
 
- Updated the operation id and summary field definitions for the PATCH /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}endpoint
- Updated itemsin/api/v2/rolesresponse body to be required
- Updated itemsin/api/v2/teamsresponse body to be required
- Added the property resourceApprovalSettingsin the environment type
- Updated instructions[].valueproperty in thePATCH /api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}endpoint to be a 64 bit integer
17.0.0
Added
- Added filterquery parameter toGET /api/v2/metrics/{projectKey}(List metrics)
- Added expandquery parameter toGET /api/v2/members/{id}(Get member
- Added expandquery parameter toGET /api/v2/members(List member)
- Added expandquery parameter toPATCH /api/v2/members/{id}(Patch member)
- Added expandquery parameter toPOST /api/v2/members(Create member)
- Updated MemberRepto includeRoleAttributes
- Updated MetricInGroupRepandMetricV2Repto both contain the metric's 'unitAggregationType`
- Updated the kindfield inDependentMetricOrMetricGroupRepto allow enum valuestandard, used for metric groups
- Added latestCommitTimefield to the response ofGET /api/v2/code-refs/statistics/{projectKey}(Get code references statistics for flags)
- Added optional statisticalMethodologyfield to the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- Added statisticalMethodologyfield to the response bodies of:- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Get experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Get experiments)
 
- Added autoApplyApprovedChangesfield to environment approval settings on project, environment, and approval request responses.
- Added total_countfield to the response ofGET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts
- Added linksfield to the response ofGET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts
- Added limitandoffsetquery parameters toGET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts
- Added the GET /api/v2/caller-identityendpoint to aid in secret scanning integrations
- Updated the GET /api/v2/flags/{projectKey}/{flagKey}/releaseto include the property_idin the audience response
- Added the following endpoints in beta for Release Automation:
- DELETE /api/v2/flags/{projectKey}/{flagKey}/release
- PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release
- PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}
- GET /api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}/releases
 
- Added optional holdoutIdfield to the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- Added holdoutIdfield to the response bodies of:- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Get experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Get experiments)
- Updated GET /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}to accept a limit param.
 
- Added optional projectKey/environmentKeyto the query params of beta endpoints:- GET /api/v2/usage/service-connections
- GET /api/v2/usage/experimentation-units
- GET /api/v2/usage/experimentation-keys
- GET /api/v2/usage/data-export-events
 
- Added environmentKeyfield to the response bodies of:- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Get experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Get experiments)
 
- Added POST /api/v2/auditlogto support large policy statement lists (that would not otherwise fit in the URL)
- Updated 200 response type for PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}
- Updated FeatureFlagStatusto use an enum for itsname
- Updated PATCH /api/v2/projects/{projectKey}/flags/{flagKey}to include theignoreConflictsquery parameter
- Added variancefield for each relative difference in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint
- Added varianceReductionfield for each relative difference in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint
- Added endpoints for managing experiment layers:
- Create a new layer: POST /api/v2/projects/{projectKey}/layers
- Update a layer: PATCH /api/v2/projects/{projectKey}/layers/{layerKey}
- Get layers: GET /api/v2/projects/{projectKey}/layers
 
- Create a new layer: 
- Added endpoints for managing holdouts:
- Create a new holdout: POST /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}
- Update a holdout: PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}
- Get a holdout by id: GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}
- Get a holdout by key: GET /api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}
 
- Create a new holdout: 
- Added totalCountfield to the response body ofGET /api/v2/metrics/{projectKey}(list metrics)
- Added pagination to GET /api/v2/projects/{projectKey}/metric-groups(list metric groups)- Added limitandoffsetquery params
- Added totalCountfield to the response body
 
- Added 
- Added optional attributesfield to the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(create experiment) andPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations(create iteration)
- Added versionfield to the response bodies of:- GET /api/v2/members(Get members)
- GET /api/v2/members/{id}(Get member)
- PATCH /api/v2/members/{id}(Patch member)
- POST /api/v2/members(Create member)
- POST /members/{id}/teams(Add member to teams)
 
- Added optional initialPrerequisitesfield to request body ofPOST /api/v2/flags/{projectKey}endpoint (Create Flag).
- Added eventValuesSumfield for each treatment result in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint
- Added new endpoints for working with flag import configurations:
- POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}(Create flag import configuration)
- GET /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Get flag import configuration)
- GET /api/v2/integration-capabilities/flag-import(List all flag import configurations)
- PATCH /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Update flag import configuration)
- POST /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger(Trigger a flag import run)
- DELETE /api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}(Delete flag import configuration)
 
- Added model,bayesianNormal, andbayesianBetafields for each treatment result in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint
- Added optional methodologyfield to the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- Added methodologyfield to the response bodies of:- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create experiment)
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Get experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Get experiments)
 
- Added correlation,sdRatio, andcovariateImbalancefields for each treatment result in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint
- Added optional namingConventionfield to the request body ofPOST /api/v2/projects(Create project)
- Added new endpoint for updating an approval request: PATCH /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}(Update approval request)
- Added optional queryfield to thefilterparam onGET /api/v2/projects/{projectKey}/metric-groupsto search against the metric group name and key
- Added documentation for the filterparam onGET /api/v2/projects/{projectKey}/metric-groups
- Added limit,offset, andasOfquery parameters to theGET /api/v2/tags(List tags) endpoint
- Added optional limitfield toGET /api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes
- Updated the distributionfield in theGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/resultsendpoint to always usenumberparameters
- Added new endpoints for working with integration configurations:
- POST /api/v2/integration-configurations/keys/{integrationKey}(Create integration configuration)
- `GET /api/v2/integrati...
 
16.1.1
No significant changes.
Full Changelog: 16.1.0...16.1.1
16.1.0
[16.1.0] - 2024-05-16
Added
- Added optional notInExperimentVariationIdfield toflagsinsideiterationin the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create Experiment)
- Added optional notInExperimentVariationIdfield inflagsin the request body ofPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations(Create Iteration)
- Added notInExperimentVariationIdfield to theflagsobject in the response bodies of:- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments(Create Experiment)
- POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations(Create Iteration)
- PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch Experiment)
- GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Get Experiment)
 
- Added HTTP 409 as a possible response status code for PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}(Patch Experiment)
16.0.0
Added
- Added totalCountfield to response ofGET /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows
- Added limitandoffsetquery params togetWorkflowsandgetCustomRolesendpoints
Removed
- Removed the followerId,hasDataExport,status,contextKindTargeted, andsegmentTargetedfilters for thegetFeatureFlagsendpoint
- Removed the projectsandrolesoptions for theexpandquery parameter in thegetTeamsendpoint
15.0.0
Added
- Added deprecatedanddeprecatedDateto the rep returned by the flags endpoints
- Added an optional descriptionfield for a segment rule
- Added Integrations (beta)endpoints for working with big segment persistent store integrations
- Added environmentKeyto dependent experiment rep
- Added lastModifiedto theunboundedobject returned by Segment APIs
- Added resultsfield toGET /projects/{projKey}/environments/{envKey}/experiments/{experimentKey}/metrics/{metricKey}/results, deprecatingtreatmentResults
- Added criticalto Environment object andPOST /api/v2/projects/{projectKey}/environmentsendpoint request body.
- Added expandquery parameter toGET /projects/{projKey}/environments/{envKey}/experiments/{experimentKey}/metrics/{metricKey}/resultswith support for expandingtraffic
- Added pagination parameters limit and offset to /api/v2/tokens
- Added missing response information to PATCH /api/v2/flags/{projectKey}/{flagKey}/release
- Added 4xx response info to GET /api/v2,GET /api/v2/openapi.json, andGET /api/v2/public-ip-list
- Added keyto the rep returned by flag defaults endpoints
- Added typeto code references statistics reps
- Added standardas a metric group kind
- Added primarySingleMetric,primaryFunnel, andmetricstoIterationRep, deprecatingprimaryMetricandsecondaryMetric
- Added primarySingleMetricKeyandprimaryFunnelKeytoIterationInput, deprecatingprimaryinMetricInput
- Added _versionIdfield to the metric rep returned by metric and experimentation endpoints
- Added beta engineering insights endpoints
Removed
- Removed components schemas that were unused by any paths or operations
- Removed the endpoint to reset experiment results
- Removed the endpoint to create an application
- Removed the endpoint to create an application version
Changed
- Updated definition of post delete approval request to include previously ommited error codes 405 and 409
- Marked keyandnamerequired inMaintainerTeamto match API behavior
- Added filterto/api/v2/projects/{projectKey}/release-pipelines
- Added pagination parameters limitandoffsetto/api/v2/projects/{projectKey}/release-pipelines
- Renamed experimentation settings endpoints and reps to randomization settings, the fields and api's remain the same.
- Marked nameInGroupas optional inMetricInGroupRepif and only if the group isn't afunnel.