Skip to content

v21.0.0

Latest

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 03 Feb 16:14
· 4 commits to main since this release

Added

  • Added new endpoints for agent graphs, which represent directed graphs of AI Configs for agent workflows.

    • GET /api/v2/projects/{projectKey}/agent-graphs/{graphKey}
    • PATCH /api/v2/projects/{projectKey}/agent-graphs/{graphKey}
    • DELETE /api/v2/projects/{projectKey}/agent-graphs/{graphKey}
  • Added evaluationMetricKey and isInverted to AI Configs endpoints:

    • GET /api/v2/projects/{projectKey}/ai-configs/{configKey} - returns these fields in response
    • POST /api/v2/projects/{projectKey}/ai-configs - accepts these fields in request body
    • PATCH /api/v2/projects/{projectKey}/ai-configs/{configKey} - accepts these fields in request body
    • Deprecated evaluationMetricKeys in GET endpoints in response to this
  • Added flagPurpose to POST /api/v2/metrics/{projectKey}, GET /api/v2/metrics/{projectKey}/{metricKey}, PATCH /api/v2/metrics/{projectKey}/{metricKey}

  • Added new semantic patch instruction updateDescription for updating the description of approval requests

  • Added releasePolicies and releasePolicyCount expandable properties to metric group responses. These fields are feature-flagged and will appear in the following endpoints when the enable-metric-group-release-policy-connections flag is enabled:

    • 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}

Changed

  • Removed the beta tag from AI Configs, AI tools, and model configs APIs. These endpoints no longer require the LD-API-Version: beta header.
  • All non-beta requests now include the LD-API-Version: 20240415 header by default. This default header value means that requests will use the API version corresponding to the appropriate OpenAPI spec rather than the authentication token's API version.

Removed

  • Removed the generation of the PHP and JavaScript client libraries.

Bug Fixes