launchdarkly_api 21.0.0 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -6
  3. data/docs/AIConfig.md +3 -1
  4. data/docs/AIConfigDependency.md +20 -0
  5. data/docs/AIConfigPatch.md +2 -2
  6. data/docs/AIConfigPost.md +2 -2
  7. data/docs/AITool.md +3 -1
  8. data/docs/AIToolPatch.md +6 -4
  9. data/docs/AIToolPost.md +6 -4
  10. data/docs/AccountUsageBetaApi.md +164 -0
  11. data/docs/AgentGraph.md +4 -0
  12. data/docs/AgentGraphMaintainer.md +49 -0
  13. data/docs/AgentGraphPatch.md +4 -0
  14. data/docs/AgentGraphPost.md +4 -0
  15. data/docs/AiConfigsMetricListingRep.md +4 -0
  16. data/docs/AuditLogApi.md +80 -0
  17. data/docs/CallerIdentityRep.md +3 -1
  18. data/docs/CountBucket.md +20 -0
  19. data/docs/CountBucketsResult.md +22 -0
  20. data/docs/EventFilter.md +1 -1
  21. data/docs/ExpandedFlag.md +4 -2
  22. data/docs/ExpandedFlagMaintainer.md +24 -0
  23. data/docs/ExpandedLinkedResourcesItems.md +1 -5
  24. data/docs/ExperimentsApi.md +1 -1
  25. data/docs/MetricListingRep.md +2 -0
  26. data/docs/MetricRep.md +2 -0
  27. data/docs/ResourceSummary.md +0 -4
  28. data/docs/VariationTool.md +3 -1
  29. data/docs/ViewLinkRequest.md +3 -1
  30. data/docs/ViewLinkRequestFilter.md +22 -0
  31. data/docs/ViewLinkRequestKeys.md +4 -2
  32. data/docs/ViewLinkRequestSegmentIdentifiers.md +4 -0
  33. data/docs/ViewLinkedResource.md +1 -1
  34. data/docs/ViewsBetaApi.md +17 -11
  35. data/docs/ViewsMemberSummary.md +28 -0
  36. data/docs/ViewsMemberTeamSummaryRep.md +24 -0
  37. data/lib/launchdarkly_api/api/account_usage_beta_api.rb +144 -0
  38. data/lib/launchdarkly_api/api/audit_log_api.rb +81 -0
  39. data/lib/launchdarkly_api/api/experiments_api.rb +2 -2
  40. data/lib/launchdarkly_api/api/views_beta_api.rb +31 -18
  41. data/lib/launchdarkly_api/models/agent_graph.rb +19 -1
  42. data/lib/launchdarkly_api/models/agent_graph_maintainer.rb +104 -0
  43. data/lib/launchdarkly_api/models/agent_graph_patch.rb +21 -1
  44. data/lib/launchdarkly_api/models/agent_graph_post.rb +21 -1
  45. data/lib/launchdarkly_api/models/ai_config.rb +16 -4
  46. data/lib/launchdarkly_api/models/ai_config_dependency.rb +217 -0
  47. data/lib/launchdarkly_api/models/ai_configs_metric_listing_rep.rb +20 -1
  48. data/lib/launchdarkly_api/models/ai_tool.rb +12 -1
  49. data/lib/launchdarkly_api/models/ai_tool_patch.rb +15 -4
  50. data/lib/launchdarkly_api/models/ai_tool_post.rb +15 -4
  51. data/lib/launchdarkly_api/models/caller_identity_rep.rb +15 -4
  52. data/lib/launchdarkly_api/models/{expanded_linked_resources_metrics.rb → count_bucket.rb} +34 -36
  53. data/lib/launchdarkly_api/models/{expanded_linked_resources_ai_configs.rb → count_buckets_result.rb} +49 -23
  54. data/lib/launchdarkly_api/models/event_filter.rb +1 -1
  55. data/lib/launchdarkly_api/models/expanded_flag.rb +16 -7
  56. data/lib/launchdarkly_api/models/expanded_flag_maintainer.rb +234 -0
  57. data/lib/launchdarkly_api/models/expanded_linked_resources_items.rb +4 -22
  58. data/lib/launchdarkly_api/models/failed_resource_link.rb +2 -2
  59. data/lib/launchdarkly_api/models/metric_group_post.rb +2 -2
  60. data/lib/launchdarkly_api/models/metric_listing_rep.rb +10 -1
  61. data/lib/launchdarkly_api/models/metric_rep.rb +10 -1
  62. data/lib/launchdarkly_api/models/resource_summary.rb +1 -19
  63. data/lib/launchdarkly_api/models/variation_tool.rb +16 -4
  64. data/lib/launchdarkly_api/models/view_link_request.rb +1 -0
  65. data/lib/launchdarkly_api/models/view_link_request_filter.rb +187 -0
  66. data/lib/launchdarkly_api/models/view_link_request_keys.rb +12 -2
  67. data/lib/launchdarkly_api/models/view_link_request_segment_identifiers.rb +21 -1
  68. data/lib/launchdarkly_api/models/view_linked_resource.rb +3 -3
  69. data/lib/launchdarkly_api/models/views_member_summary.rb +268 -0
  70. data/lib/launchdarkly_api/models/views_member_team_summary_rep.rb +232 -0
  71. data/lib/launchdarkly_api/version.rb +1 -1
  72. data/lib/launchdarkly_api.rb +8 -2
  73. data/spec/api/account_usage_beta_api_spec.rb +32 -0
  74. data/spec/api/audit_log_api_spec.rb +15 -0
  75. data/spec/api/experiments_api_spec.rb +1 -1
  76. data/spec/api/views_beta_api_spec.rb +9 -6
  77. data/spec/models/agent_graph_maintainer_spec.rb +32 -0
  78. data/spec/models/agent_graph_patch_spec.rb +12 -0
  79. data/spec/models/agent_graph_post_spec.rb +12 -0
  80. data/spec/models/agent_graph_spec.rb +12 -0
  81. data/spec/models/ai_config_dependency_spec.rb +46 -0
  82. data/spec/models/ai_config_spec.rb +6 -0
  83. data/spec/models/ai_configs_metric_listing_rep_spec.rb +12 -0
  84. data/spec/models/ai_tool_patch_spec.rb +6 -0
  85. data/spec/models/ai_tool_post_spec.rb +6 -0
  86. data/spec/models/ai_tool_spec.rb +6 -0
  87. data/spec/models/caller_identity_rep_spec.rb +6 -0
  88. data/spec/models/{expanded_linked_resources_metrics_spec.rb → count_bucket_spec.rb} +8 -8
  89. data/spec/models/{expanded_linked_resources_ai_configs_spec.rb → count_buckets_result_spec.rb} +13 -7
  90. data/spec/models/expanded_flag_maintainer_spec.rb +58 -0
  91. data/spec/models/expanded_flag_spec.rb +7 -1
  92. data/spec/models/expanded_linked_resources_items_spec.rb +0 -12
  93. data/spec/models/failed_resource_link_spec.rb +1 -1
  94. data/spec/models/metric_group_post_spec.rb +1 -1
  95. data/spec/models/metric_listing_rep_spec.rb +6 -0
  96. data/spec/models/metric_rep_spec.rb +6 -0
  97. data/spec/models/resource_summary_spec.rb +0 -12
  98. data/spec/models/variation_tool_spec.rb +6 -0
  99. data/spec/models/view_link_request_filter_spec.rb +48 -0
  100. data/spec/models/view_link_request_keys_spec.rb +6 -0
  101. data/spec/models/view_link_request_segment_identifiers_spec.rb +12 -0
  102. data/spec/models/view_linked_resource_spec.rb +1 -1
  103. data/spec/models/views_member_summary_spec.rb +66 -0
  104. data/spec/models/views_member_team_summary_rep_spec.rb +54 -0
  105. metadata +626 -602
  106. data/docs/ExpandedLinkedResourcesAIConfigs.md +0 -20
  107. data/docs/ExpandedLinkedResourcesMetrics.md +0 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac002c26ee97d501bcd93d574db70355b8568b184691323518d6e5b3cb9a4275
4
- data.tar.gz: 19d27e4e2dfcd2b56db425675f5b79fb099e62804232c32f02c433c51b96ff7b
3
+ metadata.gz: 9cb8e68ef3e0a4a9eecdd2de8d4c9900338e87dc69753c6887ae5ea2555640d3
4
+ data.tar.gz: 9350f9225d172df47b771bfc87c4d5749c461582c46229800064e949514bd653
5
5
  SHA512:
6
- metadata.gz: '058e23517590788319cf4c5ae7c9747ef4912e875b43bcc9ee37a0ed2e40ec6c386f72b85741afac3249e2a032e17aef71f960fdf2f8390168c72d573fa04be9'
7
- data.tar.gz: 3dd662f5931d578a6b6ba4a6730e98c6527cba971007369ee70fb26d272894f8d854d2bd5a85d353c41e7774b8bda09afd479e32ef07a2648ad83455843d7005
6
+ metadata.gz: 5e86f606ee4810c223c8c1888cfa4333584b55d56cd2bd18837da3fa1966d67054463fcadf0f344d095c17ec5cd2ad4c5dceed243dbbb24e4472638f39a5cf4f
7
+ data.tar.gz: b1b03cefd0d0070d6bb9481ccec948ad279bba5bf1594580eaaeacefc3e7f6ff9a5a25fef447861e58517a97a9bf56a26809d0a65b99f8c13382a3e2196c1ceb
data/README.md CHANGED
@@ -450,7 +450,7 @@ To learn more about how EOL is determined, read LaunchDarkly's [End of Life (EOL
450
450
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
451
451
 
452
452
  - API version: 2.0
453
- - Package version: 21.0.0
453
+ - Package version: 22.0.0
454
454
  - Generator version: 7.18.0
455
455
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
456
456
  For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
@@ -468,16 +468,16 @@ gem build launchdarkly_api.gemspec
468
468
  Then either install the gem locally:
469
469
 
470
470
  ```shell
471
- gem install ./launchdarkly_api-21.0.0.gem
471
+ gem install ./launchdarkly_api-22.0.0.gem
472
472
  ```
473
473
 
474
- (for development, run `gem install --dev ./launchdarkly_api-21.0.0.gem` to install the development dependencies)
474
+ (for development, run `gem install --dev ./launchdarkly_api-22.0.0.gem` to install the development dependencies)
475
475
 
476
476
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
477
477
 
478
478
  Finally add this to the Gemfile:
479
479
 
480
- gem 'launchdarkly_api', '~> 21.0.0'
480
+ gem 'launchdarkly_api', '~> 22.0.0'
481
481
 
482
482
  ### Install from Git
483
483
 
@@ -587,12 +587,14 @@ Class | Method | HTTP request | Description
587
587
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_mau_usage_by_category**](docs/AccountUsageBetaApi.md#get_mau_usage_by_category) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
588
588
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_observability_errors_usage**](docs/AccountUsageBetaApi.md#get_observability_errors_usage) | **GET** /api/v2/usage/observability/errors | Get observability errors usage
589
589
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_observability_logs_usage**](docs/AccountUsageBetaApi.md#get_observability_logs_usage) | **GET** /api/v2/usage/observability/logs | Get observability logs usage
590
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_observability_metrics_usage**](docs/AccountUsageBetaApi.md#get_observability_metrics_usage) | **GET** /api/v2/usage/observability/metrics | Get observability metrics usage
590
591
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_observability_sessions_usage**](docs/AccountUsageBetaApi.md#get_observability_sessions_usage) | **GET** /api/v2/usage/observability/sessions | Get observability sessions usage
591
592
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_observability_traces_usage**](docs/AccountUsageBetaApi.md#get_observability_traces_usage) | **GET** /api/v2/usage/observability/traces | Get observability traces usage
592
593
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_service_connections_usage**](docs/AccountUsageBetaApi.md#get_service_connections_usage) | **GET** /api/v2/usage/service-connections | Get service connections usage
593
594
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage**](docs/AccountUsageBetaApi.md#get_stream_usage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
594
595
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage_by_sdk_version**](docs/AccountUsageBetaApi.md#get_stream_usage_by_sdk_version) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
595
596
  *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage_sdkversion**](docs/AccountUsageBetaApi.md#get_stream_usage_sdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
597
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_vega_ai_usage**](docs/AccountUsageBetaApi.md#get_vega_ai_usage) | **GET** /api/v2/usage/vega-ai | Get Vega AI usage
596
598
  *LaunchDarklyApi::AnnouncementsApi* | [**create_announcement_public**](docs/AnnouncementsApi.md#create_announcement_public) | **POST** /api/v2/announcements | Create an announcement
597
599
  *LaunchDarklyApi::AnnouncementsApi* | [**delete_announcement_public**](docs/AnnouncementsApi.md#delete_announcement_public) | **DELETE** /api/v2/announcements/{announcementId} | Delete an announcement
598
600
  *LaunchDarklyApi::AnnouncementsApi* | [**get_announcements_public**](docs/AnnouncementsApi.md#get_announcements_public) | **GET** /api/v2/announcements | Get announcements
@@ -624,6 +626,7 @@ Class | Method | HTTP request | Description
624
626
  *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](docs/AuditLogApi.md#get_audit_log_entries) | **GET** /api/v2/auditlog | List audit log entries
625
627
  *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](docs/AuditLogApi.md#get_audit_log_entry) | **GET** /api/v2/auditlog/{id} | Get audit log entry
626
628
  *LaunchDarklyApi::AuditLogApi* | [**post_audit_log_entries**](docs/AuditLogApi.md#post_audit_log_entries) | **POST** /api/v2/auditlog | Search audit log entries
629
+ *LaunchDarklyApi::AuditLogApi* | [**post_audit_log_entry_counts**](docs/AuditLogApi.md#post_audit_log_entry_counts) | **POST** /api/v2/auditlog/counts | Get audit log entry counts
627
630
  *LaunchDarklyApi::CodeReferencesApi* | [**delete_branches**](docs/CodeReferencesApi.md#delete_branches) | **POST** /api/v2/code-refs/repositories/{repo}/branch-delete-tasks | Delete branches
628
631
  *LaunchDarklyApi::CodeReferencesApi* | [**delete_repository**](docs/CodeReferencesApi.md#delete_repository) | **DELETE** /api/v2/code-refs/repositories/{repo} | Delete repository
629
632
  *LaunchDarklyApi::CodeReferencesApi* | [**get_branch**](docs/CodeReferencesApi.md#get_branch) | **GET** /api/v2/code-refs/repositories/{repo}/branches/{branch} | Get branch
@@ -879,6 +882,7 @@ Class | Method | HTTP request | Description
879
882
  ## Documentation for Models
880
883
 
881
884
  - [LaunchDarklyApi::AIConfig](docs/AIConfig.md)
885
+ - [LaunchDarklyApi::AIConfigDependency](docs/AIConfigDependency.md)
882
886
  - [LaunchDarklyApi::AIConfigMaintainer](docs/AIConfigMaintainer.md)
883
887
  - [LaunchDarklyApi::AIConfigPatch](docs/AIConfigPatch.md)
884
888
  - [LaunchDarklyApi::AIConfigPost](docs/AIConfigPost.md)
@@ -917,6 +921,7 @@ Class | Method | HTTP request | Description
917
921
  - [LaunchDarklyApi::AgentGraph](docs/AgentGraph.md)
918
922
  - [LaunchDarklyApi::AgentGraphEdge](docs/AgentGraphEdge.md)
919
923
  - [LaunchDarklyApi::AgentGraphEdgePost](docs/AgentGraphEdgePost.md)
924
+ - [LaunchDarklyApi::AgentGraphMaintainer](docs/AgentGraphMaintainer.md)
920
925
  - [LaunchDarklyApi::AgentGraphPatch](docs/AgentGraphPatch.md)
921
926
  - [LaunchDarklyApi::AgentGraphPost](docs/AgentGraphPost.md)
922
927
  - [LaunchDarklyApi::AgentGraphs](docs/AgentGraphs.md)
@@ -1016,6 +1021,8 @@ Class | Method | HTTP request | Description
1016
1021
  - [LaunchDarklyApi::Contexts](docs/Contexts.md)
1017
1022
  - [LaunchDarklyApi::CopiedFromEnv](docs/CopiedFromEnv.md)
1018
1023
  - [LaunchDarklyApi::CoreLink](docs/CoreLink.md)
1024
+ - [LaunchDarklyApi::CountBucket](docs/CountBucket.md)
1025
+ - [LaunchDarklyApi::CountBucketsResult](docs/CountBucketsResult.md)
1019
1026
  - [LaunchDarklyApi::CreateAnnouncementBody](docs/CreateAnnouncementBody.md)
1020
1027
  - [LaunchDarklyApi::CreateApprovalRequestRequest](docs/CreateApprovalRequestRequest.md)
1021
1028
  - [LaunchDarklyApi::CreateCopyFlagConfigApprovalRequestRequest](docs/CreateCopyFlagConfigApprovalRequestRequest.md)
@@ -1069,15 +1076,14 @@ Class | Method | HTTP request | Description
1069
1076
  - [LaunchDarklyApi::ExpandedDirectlyLinkedSegment](docs/ExpandedDirectlyLinkedSegment.md)
1070
1077
  - [LaunchDarklyApi::ExpandedDirectlyLinkedSegments](docs/ExpandedDirectlyLinkedSegments.md)
1071
1078
  - [LaunchDarklyApi::ExpandedFlag](docs/ExpandedFlag.md)
1079
+ - [LaunchDarklyApi::ExpandedFlagMaintainer](docs/ExpandedFlagMaintainer.md)
1072
1080
  - [LaunchDarklyApi::ExpandedFlagRep](docs/ExpandedFlagRep.md)
1073
1081
  - [LaunchDarklyApi::ExpandedLinkedAIConfigs](docs/ExpandedLinkedAIConfigs.md)
1074
1082
  - [LaunchDarklyApi::ExpandedLinkedFlags](docs/ExpandedLinkedFlags.md)
1075
1083
  - [LaunchDarklyApi::ExpandedLinkedMetrics](docs/ExpandedLinkedMetrics.md)
1076
1084
  - [LaunchDarklyApi::ExpandedLinkedResources](docs/ExpandedLinkedResources.md)
1077
- - [LaunchDarklyApi::ExpandedLinkedResourcesAIConfigs](docs/ExpandedLinkedResourcesAIConfigs.md)
1078
1085
  - [LaunchDarklyApi::ExpandedLinkedResourcesFlags](docs/ExpandedLinkedResourcesFlags.md)
1079
1086
  - [LaunchDarklyApi::ExpandedLinkedResourcesItems](docs/ExpandedLinkedResourcesItems.md)
1080
- - [LaunchDarklyApi::ExpandedLinkedResourcesMetrics](docs/ExpandedLinkedResourcesMetrics.md)
1081
1087
  - [LaunchDarklyApi::ExpandedLinkedResourcesSegments](docs/ExpandedLinkedResourcesSegments.md)
1082
1088
  - [LaunchDarklyApi::ExpandedLinkedSegments](docs/ExpandedLinkedSegments.md)
1083
1089
  - [LaunchDarklyApi::ExpandedMetric](docs/ExpandedMetric.md)
@@ -1441,6 +1447,7 @@ Class | Method | HTTP request | Description
1441
1447
  - [LaunchDarklyApi::VersionsRep](docs/VersionsRep.md)
1442
1448
  - [LaunchDarklyApi::View](docs/View.md)
1443
1449
  - [LaunchDarklyApi::ViewLinkRequest](docs/ViewLinkRequest.md)
1450
+ - [LaunchDarklyApi::ViewLinkRequestFilter](docs/ViewLinkRequestFilter.md)
1444
1451
  - [LaunchDarklyApi::ViewLinkRequestKeys](docs/ViewLinkRequestKeys.md)
1445
1452
  - [LaunchDarklyApi::ViewLinkRequestSegmentIdentifier](docs/ViewLinkRequestSegmentIdentifier.md)
1446
1453
  - [LaunchDarklyApi::ViewLinkRequestSegmentIdentifiers](docs/ViewLinkRequestSegmentIdentifiers.md)
@@ -1459,6 +1466,8 @@ Class | Method | HTTP request | Description
1459
1466
  - [LaunchDarklyApi::ViewsLink](docs/ViewsLink.md)
1460
1467
  - [LaunchDarklyApi::ViewsMaintainerMember](docs/ViewsMaintainerMember.md)
1461
1468
  - [LaunchDarklyApi::ViewsMaintainerTeam](docs/ViewsMaintainerTeam.md)
1469
+ - [LaunchDarklyApi::ViewsMemberSummary](docs/ViewsMemberSummary.md)
1470
+ - [LaunchDarklyApi::ViewsMemberTeamSummaryRep](docs/ViewsMemberTeamSummaryRep.md)
1462
1471
  - [LaunchDarklyApi::ViewsPaginatedLinks](docs/ViewsPaginatedLinks.md)
1463
1472
  - [LaunchDarklyApi::ViewsSelfLink](docs/ViewsSelfLink.md)
1464
1473
  - [LaunchDarklyApi::Webhook](docs/Webhook.md)
data/docs/AIConfig.md CHANGED
@@ -19,6 +19,7 @@
19
19
  | **evaluation_metric_key** | **String** | Evaluation metric key for this AI Config | [optional] |
20
20
  | **evaluation_metric_keys** | **Array<String>** | List of evaluation metric keys for this AI Config | [optional] |
21
21
  | **is_inverted** | **Boolean** | Whether the evaluation metric is inverted, meaning a lower value is better if set as true | [optional] |
22
+ | **dependencies** | [**Array<AIConfigDependency>**](AIConfigDependency.md) | Resources that depend on this AI Config, grouped by type | [optional] |
22
23
 
23
24
  ## Example
24
25
 
@@ -40,7 +41,8 @@ instance = LaunchDarklyApi::AIConfig.new(
40
41
  updated_at: null,
41
42
  evaluation_metric_key: null,
42
43
  evaluation_metric_keys: null,
43
- is_inverted: null
44
+ is_inverted: null,
45
+ dependencies: null
44
46
  )
45
47
  ```
46
48
 
@@ -0,0 +1,20 @@
1
+ # LaunchDarklyApi::AIConfigDependency
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of the dependent resource | |
8
+ | **key** | **String** | The key of the dependent resource | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'launchdarkly_api'
14
+
15
+ instance = LaunchDarklyApi::AIConfigDependency.new(
16
+ type: null,
17
+ key: null
18
+ )
19
+ ```
20
+
@@ -19,8 +19,8 @@ require 'launchdarkly_api'
19
19
 
20
20
  instance = LaunchDarklyApi::AIConfigPatch.new(
21
21
  description: null,
22
- maintainer_id: null,
23
- maintainer_team_key: null,
22
+ maintainer_id: 507f1f77bcf86cd799439011,
23
+ maintainer_team_key: example-team-key,
24
24
  name: null,
25
25
  tags: null,
26
26
  evaluation_metric_key: null,
data/docs/AIConfigPost.md CHANGED
@@ -23,8 +23,8 @@ require 'launchdarkly_api'
23
23
  instance = LaunchDarklyApi::AIConfigPost.new(
24
24
  description: null,
25
25
  key: null,
26
- maintainer_id: null,
27
- maintainer_team_key: null,
26
+ maintainer_id: 507f1f77bcf86cd799439011,
27
+ maintainer_team_key: example-team-key,
28
28
  mode: null,
29
29
  name: null,
30
30
  tags: null,
data/docs/AITool.md CHANGED
@@ -9,7 +9,8 @@
9
9
  | **_links** | [**ParentAndSelfLinks**](ParentAndSelfLinks.md) | | [optional] |
10
10
  | **_maintainer** | [**AIConfigMaintainer**](AIConfigMaintainer.md) | | [optional] |
11
11
  | **description** | **String** | | [optional] |
12
- | **schema** | **Object** | | |
12
+ | **schema** | **Object** | JSON Schema defining the tool's parameters for LLM consumption | |
13
+ | **custom_parameters** | **Object** | Custom metadata and configuration for application-level use (not sent to LLM) | [optional] |
13
14
  | **version** | **Integer** | | |
14
15
  | **created_at** | **Integer** | | |
15
16
 
@@ -25,6 +26,7 @@ instance = LaunchDarklyApi::AITool.new(
25
26
  _maintainer: null,
26
27
  description: null,
27
28
  schema: null,
29
+ custom_parameters: null,
28
30
  version: null,
29
31
  created_at: null
30
32
  )
data/docs/AIToolPatch.md CHANGED
@@ -7,7 +7,8 @@
7
7
  | **maintainer_id** | **String** | | [optional] |
8
8
  | **maintainer_team_key** | **String** | | [optional] |
9
9
  | **description** | **String** | | [optional] |
10
- | **schema** | **Object** | | [optional] |
10
+ | **schema** | **Object** | JSON Schema defining the tool's parameters for LLM consumption | [optional] |
11
+ | **custom_parameters** | **Object** | Custom metadata and configuration for application-level use (not sent to LLM) | [optional] |
11
12
 
12
13
  ## Example
13
14
 
@@ -15,10 +16,11 @@
15
16
  require 'launchdarkly_api'
16
17
 
17
18
  instance = LaunchDarklyApi::AIToolPatch.new(
18
- maintainer_id: null,
19
- maintainer_team_key: null,
19
+ maintainer_id: 507f1f77bcf86cd799439011,
20
+ maintainer_team_key: example-team-key,
20
21
  description: null,
21
- schema: null
22
+ schema: null,
23
+ custom_parameters: null
22
24
  )
23
25
  ```
24
26
 
data/docs/AIToolPost.md CHANGED
@@ -8,7 +8,8 @@
8
8
  | **maintainer_id** | **String** | | [optional] |
9
9
  | **maintainer_team_key** | **String** | | [optional] |
10
10
  | **description** | **String** | | [optional] |
11
- | **schema** | **Object** | | |
11
+ | **schema** | **Object** | JSON Schema defining the tool's parameters for LLM consumption | |
12
+ | **custom_parameters** | **Object** | Custom metadata and configuration for application-level use (not sent to LLM) | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -17,10 +18,11 @@ require 'launchdarkly_api'
17
18
 
18
19
  instance = LaunchDarklyApi::AIToolPost.new(
19
20
  key: null,
20
- maintainer_id: null,
21
- maintainer_team_key: null,
21
+ maintainer_id: 507f1f77bcf86cd799439011,
22
+ maintainer_team_key: example-team-key,
22
23
  description: null,
23
- schema: null
24
+ schema: null,
25
+ custom_parameters: null
24
26
  )
25
27
  ```
26
28
 
@@ -19,12 +19,14 @@ All URIs are relative to *https://app.launchdarkly.com*
19
19
  | [**get_mau_usage_by_category**](AccountUsageBetaApi.md#get_mau_usage_by_category) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category |
20
20
  | [**get_observability_errors_usage**](AccountUsageBetaApi.md#get_observability_errors_usage) | **GET** /api/v2/usage/observability/errors | Get observability errors usage |
21
21
  | [**get_observability_logs_usage**](AccountUsageBetaApi.md#get_observability_logs_usage) | **GET** /api/v2/usage/observability/logs | Get observability logs usage |
22
+ | [**get_observability_metrics_usage**](AccountUsageBetaApi.md#get_observability_metrics_usage) | **GET** /api/v2/usage/observability/metrics | Get observability metrics usage |
22
23
  | [**get_observability_sessions_usage**](AccountUsageBetaApi.md#get_observability_sessions_usage) | **GET** /api/v2/usage/observability/sessions | Get observability sessions usage |
23
24
  | [**get_observability_traces_usage**](AccountUsageBetaApi.md#get_observability_traces_usage) | **GET** /api/v2/usage/observability/traces | Get observability traces usage |
24
25
  | [**get_service_connections_usage**](AccountUsageBetaApi.md#get_service_connections_usage) | **GET** /api/v2/usage/service-connections | Get service connections usage |
25
26
  | [**get_stream_usage**](AccountUsageBetaApi.md#get_stream_usage) | **GET** /api/v2/usage/streams/{source} | Get stream usage |
26
27
  | [**get_stream_usage_by_sdk_version**](AccountUsageBetaApi.md#get_stream_usage_by_sdk_version) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version |
27
28
  | [**get_stream_usage_sdkversion**](AccountUsageBetaApi.md#get_stream_usage_sdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions |
29
+ | [**get_vega_ai_usage**](AccountUsageBetaApi.md#get_vega_ai_usage) | **GET** /api/v2/usage/vega-ai | Get Vega AI usage |
28
30
 
29
31
 
30
32
  ## get_contexts_clientside_usage
@@ -1310,6 +1312,87 @@ end
1310
1312
  - **Accept**: application/json
1311
1313
 
1312
1314
 
1315
+ ## get_observability_metrics_usage
1316
+
1317
+ > <SeriesListRep> get_observability_metrics_usage(opts)
1318
+
1319
+ Get observability metrics usage
1320
+
1321
+ Get time-series arrays of the number of observability metrics. Supports `daily` and `monthly` granularity.
1322
+
1323
+ ### Examples
1324
+
1325
+ ```ruby
1326
+ require 'time'
1327
+ require 'launchdarkly_api'
1328
+ # setup authorization
1329
+ LaunchDarklyApi.configure do |config|
1330
+ # Configure API key authorization: ApiKey
1331
+ config.api_key['Authorization'] = 'YOUR API KEY'
1332
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1333
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1334
+ end
1335
+
1336
+ api_instance = LaunchDarklyApi::AccountUsageBetaApi.new
1337
+ opts = {
1338
+ from: 'from_example', # String | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
1339
+ to: 'to_example', # String | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
1340
+ project_key: 'project_key_example', # String | A project key to filter results by. Can be specified multiple times, one query parameter per project key.
1341
+ granularity: 'granularity_example', # String | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only.
1342
+ aggregation_type: 'aggregation_type_example' # String | Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.
1343
+ }
1344
+
1345
+ begin
1346
+ # Get observability metrics usage
1347
+ result = api_instance.get_observability_metrics_usage(opts)
1348
+ p result
1349
+ rescue LaunchDarklyApi::ApiError => e
1350
+ puts "Error when calling AccountUsageBetaApi->get_observability_metrics_usage: #{e}"
1351
+ end
1352
+ ```
1353
+
1354
+ #### Using the get_observability_metrics_usage_with_http_info variant
1355
+
1356
+ This returns an Array which contains the response data, status code and headers.
1357
+
1358
+ > <Array(<SeriesListRep>, Integer, Hash)> get_observability_metrics_usage_with_http_info(opts)
1359
+
1360
+ ```ruby
1361
+ begin
1362
+ # Get observability metrics usage
1363
+ data, status_code, headers = api_instance.get_observability_metrics_usage_with_http_info(opts)
1364
+ p status_code # => 2xx
1365
+ p headers # => { ... }
1366
+ p data # => <SeriesListRep>
1367
+ rescue LaunchDarklyApi::ApiError => e
1368
+ puts "Error when calling AccountUsageBetaApi->get_observability_metrics_usage_with_http_info: #{e}"
1369
+ end
1370
+ ```
1371
+
1372
+ ### Parameters
1373
+
1374
+ | Name | Type | Description | Notes |
1375
+ | ---- | ---- | ----------- | ----- |
1376
+ | **from** | **String** | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional] |
1377
+ | **to** | **String** | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional] |
1378
+ | **project_key** | **String** | A project key to filter results by. Can be specified multiple times, one query parameter per project key. | [optional] |
1379
+ | **granularity** | **String** | Specifies the data granularity. Defaults to &#x60;daily&#x60;. Valid values depend on &#x60;aggregationType&#x60;: **month_to_date** supports &#x60;daily&#x60; and &#x60;monthly&#x60;; **incremental** and **rolling_30d** support &#x60;daily&#x60; only. | [optional] |
1380
+ | **aggregation_type** | **String** | Specifies the aggregation method. Defaults to &#x60;month_to_date&#x60;.&lt;br/&gt;Valid values: &#x60;month_to_date&#x60;, &#x60;incremental&#x60;, &#x60;rolling_30d&#x60;. | [optional] |
1381
+
1382
+ ### Return type
1383
+
1384
+ [**SeriesListRep**](SeriesListRep.md)
1385
+
1386
+ ### Authorization
1387
+
1388
+ [ApiKey](../README.md#ApiKey)
1389
+
1390
+ ### HTTP request headers
1391
+
1392
+ - **Content-Type**: Not defined
1393
+ - **Accept**: application/json
1394
+
1395
+
1313
1396
  ## get_observability_sessions_usage
1314
1397
 
1315
1398
  > <SeriesListRep> get_observability_sessions_usage(opts)
@@ -1799,3 +1882,84 @@ end
1799
1882
  - **Content-Type**: Not defined
1800
1883
  - **Accept**: application/json
1801
1884
 
1885
+
1886
+ ## get_vega_ai_usage
1887
+
1888
+ > <SeriesListRep> get_vega_ai_usage(opts)
1889
+
1890
+ Get Vega AI usage
1891
+
1892
+ Get time-series arrays of the number of Vega AI usage. Supports `daily` and `monthly` granularity.
1893
+
1894
+ ### Examples
1895
+
1896
+ ```ruby
1897
+ require 'time'
1898
+ require 'launchdarkly_api'
1899
+ # setup authorization
1900
+ LaunchDarklyApi.configure do |config|
1901
+ # Configure API key authorization: ApiKey
1902
+ config.api_key['Authorization'] = 'YOUR API KEY'
1903
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1904
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1905
+ end
1906
+
1907
+ api_instance = LaunchDarklyApi::AccountUsageBetaApi.new
1908
+ opts = {
1909
+ from: 'from_example', # String | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
1910
+ to: 'to_example', # String | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
1911
+ project_key: 'project_key_example', # String | A project key to filter results by. Can be specified multiple times, one query parameter per project key.
1912
+ granularity: 'granularity_example', # String | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only.
1913
+ aggregation_type: 'aggregation_type_example' # String | Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.
1914
+ }
1915
+
1916
+ begin
1917
+ # Get Vega AI usage
1918
+ result = api_instance.get_vega_ai_usage(opts)
1919
+ p result
1920
+ rescue LaunchDarklyApi::ApiError => e
1921
+ puts "Error when calling AccountUsageBetaApi->get_vega_ai_usage: #{e}"
1922
+ end
1923
+ ```
1924
+
1925
+ #### Using the get_vega_ai_usage_with_http_info variant
1926
+
1927
+ This returns an Array which contains the response data, status code and headers.
1928
+
1929
+ > <Array(<SeriesListRep>, Integer, Hash)> get_vega_ai_usage_with_http_info(opts)
1930
+
1931
+ ```ruby
1932
+ begin
1933
+ # Get Vega AI usage
1934
+ data, status_code, headers = api_instance.get_vega_ai_usage_with_http_info(opts)
1935
+ p status_code # => 2xx
1936
+ p headers # => { ... }
1937
+ p data # => <SeriesListRep>
1938
+ rescue LaunchDarklyApi::ApiError => e
1939
+ puts "Error when calling AccountUsageBetaApi->get_vega_ai_usage_with_http_info: #{e}"
1940
+ end
1941
+ ```
1942
+
1943
+ ### Parameters
1944
+
1945
+ | Name | Type | Description | Notes |
1946
+ | ---- | ---- | ----------- | ----- |
1947
+ | **from** | **String** | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional] |
1948
+ | **to** | **String** | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional] |
1949
+ | **project_key** | **String** | A project key to filter results by. Can be specified multiple times, one query parameter per project key. | [optional] |
1950
+ | **granularity** | **String** | Specifies the data granularity. Defaults to &#x60;daily&#x60;. Valid values depend on &#x60;aggregationType&#x60;: **month_to_date** supports &#x60;daily&#x60; and &#x60;monthly&#x60;; **incremental** and **rolling_30d** support &#x60;daily&#x60; only. | [optional] |
1951
+ | **aggregation_type** | **String** | Specifies the aggregation method. Defaults to &#x60;month_to_date&#x60;.&lt;br/&gt;Valid values: &#x60;month_to_date&#x60;, &#x60;incremental&#x60;, &#x60;rolling_30d&#x60;. | [optional] |
1952
+
1953
+ ### Return type
1954
+
1955
+ [**SeriesListRep**](SeriesListRep.md)
1956
+
1957
+ ### Authorization
1958
+
1959
+ [ApiKey](../README.md#ApiKey)
1960
+
1961
+ ### HTTP request headers
1962
+
1963
+ - **Content-Type**: Not defined
1964
+ - **Accept**: application/json
1965
+
data/docs/AgentGraph.md CHANGED
@@ -4,9 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **_access** | [**AiConfigsAccess**](AiConfigsAccess.md) | | [optional] |
7
8
  | **key** | **String** | A unique key for the agent graph | |
8
9
  | **name** | **String** | A human-readable name for the agent graph | |
9
10
  | **description** | **String** | A description of the agent graph | [optional] |
11
+ | **_maintainer** | [**AgentGraphMaintainer**](AgentGraphMaintainer.md) | | [optional] |
10
12
  | **root_config_key** | **String** | The AI Config key of the root node | [optional] |
11
13
  | **edges** | [**Array&lt;AgentGraphEdge&gt;**](AgentGraphEdge.md) | The edges in the graph | [optional] |
12
14
  | **created_at** | **Integer** | | |
@@ -18,9 +20,11 @@
18
20
  require 'launchdarkly_api'
19
21
 
20
22
  instance = LaunchDarklyApi::AgentGraph.new(
23
+ _access: null,
21
24
  key: null,
22
25
  name: null,
23
26
  description: null,
27
+ _maintainer: null,
24
28
  root_config_key: null,
25
29
  edges: null,
26
30
  created_at: null,
@@ -0,0 +1,49 @@
1
+ # LaunchDarklyApi::AgentGraphMaintainer
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'launchdarkly_api'
13
+
14
+ LaunchDarklyApi::AgentGraphMaintainer.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'AiConfigsMaintainerTeam',
18
+ # :'MaintainerMember'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'launchdarkly_api'
30
+
31
+ LaunchDarklyApi::AgentGraphMaintainer.build(data)
32
+ # => #<AiConfigsMaintainerTeam:0x00007fdd4aab02a0>
33
+
34
+ LaunchDarklyApi::AgentGraphMaintainer.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `AiConfigsMaintainerTeam`
47
+ - `MaintainerMember`
48
+ - `nil` (if no type matches)
49
+
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A human-readable name for the agent graph | [optional] |
8
8
  | **description** | **String** | A description of the agent graph | [optional] |
9
+ | **maintainer_id** | **String** | The ID of the member who maintains this agent graph. Pass an empty string to remove maintainer. | [optional] |
10
+ | **maintainer_team_key** | **String** | The key of the team that maintains this agent graph. Pass an empty string to remove maintainer. | [optional] |
9
11
  | **root_config_key** | **String** | The AI Config key of the root node. If present, edges must also be present. | [optional] |
10
12
  | **edges** | [**Array&lt;AgentGraphEdge&gt;**](AgentGraphEdge.md) | The edges in the graph. If present, rootConfigKey must also be present. Replaces all existing edges. | [optional] |
11
13
 
@@ -17,6 +19,8 @@ require 'launchdarkly_api'
17
19
  instance = LaunchDarklyApi::AgentGraphPatch.new(
18
20
  name: null,
19
21
  description: null,
22
+ maintainer_id: 507f1f77bcf86cd799439011,
23
+ maintainer_team_key: example-team-key,
20
24
  root_config_key: null,
21
25
  edges: null
22
26
  )
@@ -7,6 +7,8 @@
7
7
  | **key** | **String** | A unique key for the agent graph | |
8
8
  | **name** | **String** | A human-readable name for the agent graph | |
9
9
  | **description** | **String** | A description of the agent graph | [optional] |
10
+ | **maintainer_id** | **String** | The ID of the member who maintains this agent graph | [optional] |
11
+ | **maintainer_team_key** | **String** | The key of the team that maintains this agent graph | [optional] |
10
12
  | **root_config_key** | **String** | The AI Config key of the root node. A missing root implies a newly created graph with metadata only. | [optional] |
11
13
  | **edges** | [**Array&lt;AgentGraphEdgePost&gt;**](AgentGraphEdgePost.md) | The edges in the graph. If edges or rootConfigKey is present, both must be present. | [optional] |
12
14
 
@@ -19,6 +21,8 @@ instance = LaunchDarklyApi::AgentGraphPost.new(
19
21
  key: null,
20
22
  name: null,
21
23
  description: null,
24
+ maintainer_id: 507f1f77bcf86cd799439011,
25
+ maintainer_team_key: example-team-key,
22
26
  root_config_key: null,
23
27
  edges: null
24
28
  )
@@ -7,6 +7,7 @@
7
7
  | **experiment_count** | **Integer** | The number of experiments using this metric | [optional] |
8
8
  | **metric_group_count** | **Integer** | The number of metric groups using this metric | [optional] |
9
9
  | **guarded_rollout_count** | **Integer** | The number of guarded rollouts using this metric | [optional] |
10
+ | **release_policy_count** | **Integer** | The number of release policies using this metric | [optional] |
10
11
  | **active_experiment_count** | **Integer** | The number of active experiments using this metric | [optional] |
11
12
  | **active_guarded_rollout_count** | **Integer** | The number of active guarded rollouts using this metric | [optional] |
12
13
  | **_id** | **String** | The ID of this metric | |
@@ -37,6 +38,7 @@
37
38
  | **percentile_value** | **Integer** | The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when &lt;code&gt;analysisType&lt;/code&gt; is &lt;code&gt;percentile&lt;/code&gt;. | [optional] |
38
39
  | **event_default** | [**AiConfigsMetricEventDefaultRep**](AiConfigsMetricEventDefaultRep.md) | | [optional] |
39
40
  | **data_source** | [**AiConfigsMetricDataSourceRefRep**](AiConfigsMetricDataSourceRefRep.md) | | |
41
+ | **last_seen** | **Integer** | | [optional] |
40
42
  | **archived** | **Boolean** | Whether the metric version is archived | [optional] |
41
43
  | **archived_at** | **Integer** | | [optional] |
42
44
  | **selector** | **String** | For click metrics, the CSS selectors | [optional] |
@@ -51,6 +53,7 @@ instance = LaunchDarklyApi::AiConfigsMetricListingRep.new(
51
53
  experiment_count: 0,
52
54
  metric_group_count: 0,
53
55
  guarded_rollout_count: 0,
56
+ release_policy_count: 0,
54
57
  active_experiment_count: 2,
55
58
  active_guarded_rollout_count: 1,
56
59
  _id: 5902deadbeef667524a01290,
@@ -81,6 +84,7 @@ instance = LaunchDarklyApi::AiConfigsMetricListingRep.new(
81
84
  percentile_value: 95,
82
85
  event_default: null,
83
86
  data_source: null,
87
+ last_seen: null,
84
88
  archived: null,
85
89
  archived_at: null,
86
90
  selector: null,