Skip to content

v22.0.0

Latest

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 05 Mar 10:50

Added - Removed guardrail from the available types for POST /api/v2/projects/{projectKey}/metric-groups - Added POST /api/v2/auditlog/counts endpoint that returns aggregate counts of audit log entries per time bucket, used for dashboard overlays showing flag targeting changes. - Added expand=releasePolicyCount to GET /api/v2/{projectKey}/metrics. - Added expand=releasePolicyCount and expand=releasePolicies to GET /api/v2/{projectKey}/metrics/{metricKey} - Added releasePolicies and releasePolicyCount expansions to GET api/v2/metrics/{projectKey}/{metricGroupKey} - Added POST /api/v2/chart/data endpoint for chart data (event-warehouse integration). - Added scopes property to GET /api/v2/caller-identity response. This returns the OAuth scopes associated with the caller's token when authenticated via OAuth. - Added dependencies property to the GET /api/v2/projects/{projectKey}/ai-configs/{configKey} response, listing resources that depend on this AI Config (such as agent graphs). - Added _access property to agent graph responses. This field communicates the actions the current user is allowed or denied on the resource, enabling frontend permission checks. Affected endpoints: - POST /api/v2/projects/{projectKey}/agent-graphs - GET /api/v2/projects/{projectKey}/agent-graphs - GET /api/v2/projects/{projectKey}/agent-graphs/{graphKey} - PATCH /api/v2/projects/{projectKey}/agent-graphs/{graphKey} - Added customParameters field to variation tools in AI Config endpoints. This field provides custom metadata and configuration for application-level use: - GET /api/v2/projects/{projectKey}/ai-configs - GET /api/v2/projects/{projectKey}/ai-configs/{configKey} - Added support for the anyOf operator when using the tags filter at GET /api/v2/projects/{projectKey}/views - Added new usage endpoints - GET /api/v2/usage/observability/metrics - GET /api/v2/usage/vega-ai ### Changed - Updated Views (beta) API to support flags and segments as resource types. Removed aiConfigs and metrics from resourceType enum values and expand options for all Views endpoints. - Added optional customParameters field to AI tools endpoints for storing custom metadata and configuration. This field is available in: - GET /api/v2/projects/{projectKey}/ai-tools - GET /api/v2/projects/{projectKey}/ai-tools/{toolKey} - POST /api/v2/projects/{projectKey}/ai-tools - PATCH /api/v2/projects/{projectKey}/ai-tools/{toolKey} ### Removed - Removed environmentId query parameter from GET /api/v2/projects/{projectKey}/views/{viewKey}/linked/{resourceType}. The backend now resolves segment filters across all linked environments automatically.