Repository navigation
v25.2.0
Immutable
release. Only release title and notes can be modified.
Added
- Added optional
bearerTokento thePOST /api/v2/webhooksrequest body and toPATCH /api/v2/webhooks/{id}. If set, LaunchDarkly sends it in anAuthorization: Bearerheader with each webhook request. The token is write-only and is never returned. To remove it, patch/bearerTokenwith an empty string. - Added
hasBearerTokento the webhook object. It istruewhen the webhook sends a bearer token, and omitted otherwise. Affected endpoints:GET /api/v2/webhooksPOST /api/v2/webhooksGET /api/v2/webhooks/{id}PATCH /api/v2/webhooks/{id}
- Added
_idto each rule inGET /api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting. It is the rule ID to pass asruleIdin targeting instructions that change a rule, such asaddShadowRequest. Previously the ID was only available from the flags API. - Documented warehouse-native assignment on experiments. These fields already existed on the API and their behavior is unchanged; they were previously left out of the spec.
- Added optional
assignmentSourceTypeto the experiment object. It is the source of assignment data for the experiment, one oflaunchdarkly,snowflake,databricks,redshift,bigquery, orclickhouse. It defaults tolaunchdarkly, and experiments created before warehouse-native assignment existed omit it. Affected endpoints:GET /api/v2/projects/{projectKey}/experimentsGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experimentsPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experimentsGET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}- Holdout responses that return experiment objects
- Added optional
assignmentDataSourceto the iteration object and to iteration request bodies. It holds the assignment data sourcekey, theexperimentIdto match in that source, and the optionalstartTimeandendTimeof the assignment data window. Responses also include the source's displayname. It is omitted for experiments that assign through flags. You can also set it through theassignmentDataSourcefield on theupdateExperimentFieldsinstruction. - Added optional
assignmentVariantIdto each treatment, in both iteration request bodies and responses. It is the variant identifier in the warehouse-native assignment source that maps to that treatment. - Request bodies affected by
assignmentDataSourceandassignmentVariantId:POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experimentsPOST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterationsPATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}
- Added optional
- Documented the optional
rollupquery parameter onPOST /api/v2/auditlog. Set it to1to return rolled-up audit log entries, which group related changes into one entry. The parameter already existed and its behavior is unchanged, but it was previously left out of the spec. - Added a
sortquery parameter toGET /api/v2/projects/{projectKey}/ai-configs/skills. Usesort=usedInto order agent skills by the number of AgentControl configs that use them, fewest first, orsort=-usedInfor most first. Withoutsort, skills are still ordered by creation date, newest first.
Fixed
- Fixed the
nextlink inGET /api/v2/auditlog,POST /api/v2/auditlogand theREPORTform of/api/v2/auditlogdroppingrollup. When a request setsrollup=1, itsnextlink now includesrollup=1, so later pages are rolled up like the first page. Previously only the first page was rolled up.