datadog_api_client 2.58.0 → 2.59.1
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.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +178 -25
- data/.generator/schemas/v2/openapi.yaml +11475 -2004
- data/.github/workflows/reusable-integration-test.yml +2 -1
- data/.github/workflows/reusable-ruby-test.yml +2 -0
- data/.pre-commit-config.yaml +1 -0
- data/CHANGELOG.md +52 -0
- data/DEVELOPMENT.md +14 -2
- data/datadog_api_client.gemspec +1 -1
- data/examples/v1/monitors/CreateMonitor_1553931399.rb +43 -0
- data/examples/v1/monitors/CreateMonitor_2986418353.rb +47 -0
- data/examples/v2/{llm-observability → agent-observability}/AggregateLLMObsExperimentation.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/BatchUpdateLLMObsDataset.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CloneLLMObsDataset.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsAnnotationQueue.rb +7 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsAnnotationQueueInteractions.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsAnnotationQueueInteractions_2021594537.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsDataset.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsDatasetRecords.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsExperiment.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsExperimentEvents.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsIntegrationInference.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/CreateLLMObsProject.rb +2 -2
- data/examples/v2/agent-observability/CreateLLMObsPrompt.rb +22 -0
- data/examples/v2/agent-observability/CreateLLMObsPromptVersion.rb +21 -0
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsAnnotationQueue.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsAnnotationQueueInteractions.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsAnnotations.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsCustomEvalConfig.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsDatasetRecords.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsDatasets.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsExperiments.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsPatternsConfig.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/DeleteLLMObsProjects.rb +2 -2
- data/examples/v2/agent-observability/DeleteLLMObsPrompt.rb +8 -0
- data/examples/v2/{llm-observability → agent-observability}/ExportLLMObsDataset.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsAnnotatedInteractions.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsAnnotatedInteractionsByTraceIDs.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsAnnotationQueueLabelSchema.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsCustomEvalConfig.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsDatasetDraftState.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsPatternsConfig.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/GetLLMObsPatternsRunStatus.rb +1 -1
- data/examples/v2/agent-observability/GetLLMObsPrompt.rb +8 -0
- data/examples/v2/agent-observability/GetLLMObsPromptVersion.rb +8 -0
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsAnnotationQueues.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsCustomEvalConfigs.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsDatasetRecords.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsDatasetVersions.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsDatasets.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsExperimentEvents.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsExperimentEventsV1.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsExperimentEventsV2.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsExperiments.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsIntegrationAccounts.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsIntegrationModels.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsPatternsClusteredPoints.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsPatternsConfigs.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsPatternsRuns.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsPatternsTopics.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsPatternsTopicsWithClusteredPoints.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsProjects.rb +2 -2
- data/examples/v2/agent-observability/ListLLMObsPromptVersions.rb +8 -0
- data/examples/v2/agent-observability/ListLLMObsPrompts.rb +8 -0
- data/examples/v2/{llm-observability → agent-observability}/ListLLMObsSpans.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/LockLLMObsDatasetDraftState.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/RestoreLLMObsDatasetVersion.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/SearchLLMObsExperimentation.rb +3 -3
- data/examples/v2/{llm-observability → agent-observability}/SearchLLMObsSpans.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/SimpleSearchLLMObsExperimentation.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/TriggerLLMObsPatterns.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/UnlockLLMObsDatasetDraftState.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsAnnotationQueue.rb +7 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsAnnotationQueueLabelSchema.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsCustomEvalConfig.rb +1 -1
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsDataset.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsDatasetRecords.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsExperiment.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsProject.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpdateLLMObsPrompt.rb +4 -9
- data/examples/v2/agent-observability/UpdateLLMObsPromptVersion.rb +20 -0
- data/examples/v2/{llm-observability → agent-observability}/UploadLLMObsDatasetRecordsFile.rb +2 -2
- data/examples/v2/{llm-observability → agent-observability}/UpsertLLMObsAnnotations.rb +3 -3
- data/examples/v2/{llm-observability → agent-observability}/UpsertLLMObsPatternsConfig.rb +1 -1
- data/examples/v2/data-deletion/CancelDataDeletionRequest.rb +0 -3
- data/examples/v2/data-deletion/CreateDataDeletionRequest.rb +1 -3
- data/examples/v2/data-deletion/GetDataDeletionRequests.rb +0 -3
- data/examples/v2/elastic-cloud-integration-accounts/CreateElasticCloudIntegrationAccount.rb +49 -0
- data/examples/v2/elastic-cloud-integration-accounts/DeleteElasticCloudIntegrationAccount.rb +8 -0
- data/examples/v2/elastic-cloud-integration-accounts/GetElasticCloudIntegrationAccount.rb +8 -0
- data/examples/v2/elastic-cloud-integration-accounts/ListElasticCloudIntegrationAccounts.rb +8 -0
- data/examples/v2/elastic-cloud-integration-accounts/UpdateElasticCloudIntegrationAccount.rb +50 -0
- data/examples/v2/execution-policy/CreateExecutionPolicy.rb +24 -0
- data/examples/v2/execution-policy/CreateExecutionPolicy_1075977289.rb +43 -0
- data/examples/v2/execution-policy/DeleteExecutionPolicy.rb +11 -0
- data/examples/v2/execution-policy/GetExecutionPolicy.rb +11 -0
- data/examples/v2/execution-policy/ListExecutionPolicies.rb +8 -0
- data/examples/v2/execution-policy/ListExecutionPolicies_1745885519.rb +33 -0
- data/examples/v2/execution-policy/UpdateExecutionPolicy.rb +28 -0
- data/examples/v2/feature-flags/CreateFeatureFlag.rb +6 -1
- data/examples/v2/monitors/CreateMonitorNotificationRule_678042569.rb +25 -0
- data/examples/v2/monitors/UpdateMonitorNotificationRule_752032728.rb +29 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_1874470273.rb +51 -0
- data/examples/v2/observability-pipelines/ValidatePipeline_3116312807.rb +50 -0
- data/examples/v2/org-groups/UpdateOrgGroupPolicy.rb +1 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsJourneyFunnel.rb +90 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsJourneyList.rb +102 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsJourneyScalar.rb +95 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsJourneyTimeseries.rb +95 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsList.rb +30 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsRetentionGrid.rb +104 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsRetentionList.rb +99 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsRetentionScalar.rb +104 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsRetentionTimeseries.rb +104 -0
- data/examples/v2/product-analytics/QueryProductAnalyticsSankey.rb +53 -0
- data/examples/v2/product-catalog/ListProductCatalogSKUs.rb +8 -0
- data/examples/v2/rum-retention-filters/CreateExclusionFilter.rb +20 -0
- data/examples/v2/rum-retention-filters/DeleteExclusionFilter.rb +8 -0
- data/examples/v2/rum-retention-filters/GetExclusionFilter.rb +8 -0
- data/examples/v2/rum-retention-filters/ListExclusionFilters.rb +8 -0
- data/examples/v2/rum-retention-filters/UpdateExclusionFilter.rb +21 -0
- data/examples/v2/rum-retention-quotas/DeleteRumQuotaConfig.rb +5 -0
- data/examples/v2/rum-retention-quotas/GetRumQuotaConfig.rb +5 -0
- data/examples/v2/rum-retention-quotas/UpsertRumQuotaConfig.rb +22 -0
- data/examples/v2/rum-teams-ownership/CreateTeamsOwnershipMapping.rb +21 -0
- data/examples/v2/rum-teams-ownership/CreateTeamsOwnershipMapping_1881412984.rb +17 -0
- data/examples/v2/rum-teams-ownership/CreateTeamsOwnershipMappingsBatch.rb +22 -0
- data/examples/v2/rum-teams-ownership/DeleteTeamsOwnershipMapping.rb +8 -0
- data/examples/v2/rum-teams-ownership/GetTeamsOwnershipMapping.rb +8 -0
- data/examples/v2/rum-teams-ownership/ListTeamsOwnershipMappings.rb +13 -0
- data/examples/v2/rum-teams-ownership/ListTeamsOwnershipRules.rb +13 -0
- data/examples/v2/security-monitoring/CreateSecurityFindingsAutomationSeverityModifierRule.rb +29 -0
- data/examples/v2/security-monitoring/CreateSignalNotificationRule.rb +1 -1
- data/examples/v2/security-monitoring/CreateVulnerabilityNotificationRule.rb +1 -1
- data/examples/v2/security-monitoring/DeleteSecurityFindingsAutomationSeverityModifierRule.rb +11 -0
- data/examples/v2/security-monitoring/GetSecurityFindingsAutomationSeverityModifierRule.rb +11 -0
- data/examples/v2/security-monitoring/ListSecurityFindingsAutomationSeverityModifierRules.rb +8 -0
- data/examples/v2/security-monitoring/PatchSignalNotificationRule.rb +1 -1
- data/examples/v2/security-monitoring/PatchVulnerabilityNotificationRule.rb +1 -1
- data/examples/v2/security-monitoring/ReorderSecurityFindingsAutomationSeverityModifierRules.rb +20 -0
- data/examples/v2/security-monitoring/UpdateSecurityFindingsAutomationSeverityModifierRule.rb +32 -0
- data/examples/v2/static-analysis/CreateSCAResult.rb +13 -3
- data/examples/v2/tag-rules/CreateTagRule.rb +28 -0
- data/examples/v2/tag-rules/DeleteTagRule.rb +8 -0
- data/examples/v2/tag-rules/GetTagRule.rb +8 -0
- data/examples/v2/tag-rules/GetTagRuleScore.rb +8 -0
- data/examples/v2/tag-rules/ListTagRules.rb +8 -0
- data/examples/v2/tag-rules/UpdateTagRule.rb +19 -0
- data/examples/v2/threat-intelligence/AddSTIXThreatIntel.rb +26 -0
- data/examples/v2/twilio-integration-accounts/CreateTwilioIntegrationAccount.rb +43 -0
- data/examples/v2/twilio-integration-accounts/DeleteTwilioIntegrationAccount.rb +8 -0
- data/examples/v2/twilio-integration-accounts/GetTwilioIntegrationAccount.rb +8 -0
- data/examples/v2/twilio-integration-accounts/ListTwilioIntegrationAccounts.rb +8 -0
- data/examples/v2/twilio-integration-accounts/UpdateTwilioIntegrationAccount.rb +44 -0
- data/examples/v2/usage-metering/CreateQuotas.rb +24 -0
- data/examples/v2/usage-metering/DeleteQuota.rb +8 -0
- data/examples/v2/usage-metering/ListQuotas.rb +8 -0
- data/examples/v2/usage-metering/ListQuotas_918754421.rb +8 -0
- data/examples/v2/usage-metering/UpdateQuota.rb +19 -0
- data/examples/v2/workflow-automation/CreateWorkflow.rb +3 -0
- data/examples/v2/workflow-automation/UpdateWorkflow.rb +3 -0
- data/lib/datadog_api_client/api_client.rb +1 -0
- data/lib/datadog_api_client/configuration.rb +62 -10
- data/lib/datadog_api_client/inflector.rb +439 -32
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +16 -4
- data/lib/datadog_api_client/v1/api/metrics_api.rb +3 -1
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +2 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_diff_function.rb +27 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_diff_type.rb +29 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_entity_metric_config.rb +176 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_bounds_override.rb +29 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb +185 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_monitor_options.rb +24 -3
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_source_to_target_config.rb +189 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +2 -2
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +6 -6
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +6 -6
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +6 -6
- data/lib/datadog_api_client/v2/api/{llm_observability_api.rb → agent_observability_api.rb} +449 -518
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/case_management_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/data_deletion_api.rb +1 -19
- data/lib/datadog_api_client/v2/api/elastic_cloud_integration_accounts_api.rb +385 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/execution_policy_api.rb +412 -0
- data/lib/datadog_api_client/v2/api/identity_providers_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/key_management_api.rb +4 -4
- data/lib/datadog_api_client/v2/api/logs_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/logs_restriction_queries_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +10 -2
- data/lib/datadog_api_client/v2/api/observability_pipelines_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/org_authorized_clients_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/org_groups_api.rb +6 -0
- data/lib/datadog_api_client/v2/api/product_analytics_api.rb +742 -0
- data/lib/datadog_api_client/v2/api/product_catalog_api.rb +116 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +5 -3
- data/lib/datadog_api_client/v2/api/roles_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/rum_retention_filters_api.rb +391 -0
- data/lib/datadog_api_client/v2/api/rum_retention_quotas_api.rb +259 -0
- data/lib/datadog_api_client/v2/api/rum_teams_ownership_api.rb +471 -0
- data/lib/datadog_api_client/v2/api/scorecards_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +450 -5
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/service_definition_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/{tag_policies_api.rb → tag_rules_api.rb} +127 -127
- data/lib/datadog_api_client/v2/api/teams_api.rb +5 -5
- data/lib/datadog_api_client/v2/api/threat_intelligence_api.rb +121 -0
- data/lib/datadog_api_client/v2/api/twilio_integration_accounts_api.rb +385 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +343 -0
- data/lib/datadog_api_client/v2/api/user_authorized_clients_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +1 -1
- data/lib/datadog_api_client/v2/models/action_connection_attributes.rb +16 -3
- data/lib/datadog_api_client/v2/models/action_connection_attributes_update.rb +16 -3
- data/lib/datadog_api_client/v2/models/annotation.rb +8 -4
- data/lib/datadog_api_client/v2/models/annotation_display.rb +2 -2
- data/lib/datadog_api_client/v2/models/annotation_display_bounds.rb +5 -5
- data/lib/datadog_api_client/v2/models/annotation_markdown_text_annotation.rb +21 -3
- data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_condition_input_address.rb +1 -0
- data/lib/datadog_api_client/v2/models/asset_operating_system.rb +13 -3
- data/lib/datadog_api_client/v2/models/azure_storage_destination.rb +12 -1
- data/lib/datadog_api_client/v2/models/create_data_deletion_request_body_attributes.rb +26 -1
- data/lib/datadog_api_client/v2/models/create_feature_flag_attributes.rb +44 -13
- data/lib/datadog_api_client/v2/models/create_feature_flag_staleness_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/data_deletion_response_item_attributes.rb +42 -1
- data/lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb +45 -4
- data/lib/datadog_api_client/v2/models/detach_case_request_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/elastic_cloud_detailed_index_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_detailed_index_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_index_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_index_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_authentication_request.rb +62 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_authentication_response.rb +62 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_authentication_update.rb +62 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_create_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_response_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_settings_request.rb +133 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_settings_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_settings_update.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_update_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_account_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_accounts_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_dataflows_request.rb +140 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_integration_dataflows_response.rb +175 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_metrics_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_pending_task_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_pending_task_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_primary_shard_graceful_timeout_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_primary_shard_graceful_timeout_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_primary_shard_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_primary_shard_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_shard_allocation_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_shard_allocation_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_slm_stats_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/elastic_cloud_slm_stats_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/event.rb +23 -3
- data/lib/datadog_api_client/v2/models/event_attributes.rb +5 -4
- data/lib/datadog_api_client/v2/models/event_priority.rb +7 -1
- data/lib/datadog_api_client/v2/models/event_status_type.rb +5 -3
- data/lib/datadog_api_client/v2/models/events_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/execution_limit.rb +131 -0
- data/lib/datadog_api_client/v2/models/execution_policy_action_pattern.rb +148 -0
- data/lib/datadog_api_client/v2/models/execution_policy_attributes.rb +309 -0
- data/lib/datadog_api_client/v2/models/execution_policy_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_request_data.rb → execution_policy_create_request_data.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{tag_policy_score_resource_type.rb → execution_policy_effect.rb} +4 -3
- data/lib/datadog_api_client/v2/models/execution_policy_integration.rb +28 -0
- data/lib/datadog_api_client/v2/models/execution_policy_kubernetes_scope.rb +125 -0
- data/lib/datadog_api_client/v2/models/execution_policy_kubernetes_scope_rule.rb +125 -0
- data/lib/datadog_api_client/v2/models/execution_policy_list_response.rb +146 -0
- data/lib/datadog_api_client/v2/models/execution_policy_list_response_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/execution_policy_list_response_page.rb +127 -0
- data/lib/datadog_api_client/v2/models/execution_policy_remote_action_rshell_access.rb +27 -0
- data/lib/datadog_api_client/v2/models/execution_policy_remote_action_rshell_scope.rb +125 -0
- data/lib/datadog_api_client/v2/models/execution_policy_remote_action_rshell_scope_rule.rb +146 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_request.rb → execution_policy_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_response_data.rb → execution_policy_response_data.rb} +8 -8
- data/lib/datadog_api_client/v2/models/execution_policy_scope.rb +127 -0
- data/lib/datadog_api_client/v2/models/execution_policy_script_scope.rb +125 -0
- data/lib/datadog_api_client/v2/models/execution_policy_script_scope_rule.rb +125 -0
- data/lib/datadog_api_client/v2/models/execution_policy_target.rb +143 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_response_type.rb → execution_policy_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/execution_policy_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/execution_policy_update_request_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb +189 -0
- data/lib/datadog_api_client/v2/models/feature_flag_distribution_channel.rb +28 -0
- data/lib/datadog_api_client/v2/models/incident_condition.rb +107 -0
- data/lib/datadog_api_client/v2/models/incident_created_trigger.rb +115 -0
- data/lib/datadog_api_client/v2/models/incident_created_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_impact_created_trigger.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_impact_created_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_impact_updated_trigger.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_impact_updated_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_postmortem_updated_trigger.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_postmortem_updated_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_responder_created_trigger.rb +125 -0
- data/lib/datadog_api_client/v2/models/incident_responder_created_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_saved_trigger.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_saved_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_schedule_trigger.rb +147 -0
- data/lib/datadog_api_client/v2/models/incident_schedule_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/incident_tag_value.rb +146 -0
- data/lib/datadog_api_client/v2/models/incident_trigger.rb +14 -4
- data/lib/datadog_api_client/v2/models/incident_trigger_wrapper.rb +2 -2
- data/lib/datadog_api_client/v2/models/input_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/integration_account_basic_auth_request.rb +165 -0
- data/lib/datadog_api_client/v2/models/integration_account_basic_auth_response.rb +144 -0
- data/lib/datadog_api_client/v2/models/{tag_policy_resource_type.rb → integration_account_basic_auth_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/integration_account_basic_auth_update.rb +143 -0
- data/lib/datadog_api_client/v2/models/integration_account_dataflow_health.rb +28 -0
- data/lib/datadog_api_client/v2/models/integration_account_dataflow_status.rb +125 -0
- data/lib/datadog_api_client/v2/models/integration_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/issues_search_result_included.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_by_trace_item.rb +22 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_error.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_error_code.rb +26 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_request.rb +36 -4
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_response.rb +80 -4
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interactions_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_attributes_request.rb +36 -4
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queues_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotations_data_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotations_data_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotations_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_create_prompt_version_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_list_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_custom_eval_config_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_batch_update_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_batch_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_batch_update_insert_record.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_batch_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_batch_update_update_record.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_clone_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_clone_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_clone_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_attributes_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_data_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_draft_state_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_draft_state_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_draft_state_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_draft_state_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_export_format.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_data_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_record_update_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_list_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_records_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_restore_version_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_restore_version_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_restore_version_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_version_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_version_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_version_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_dataset_versions_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_datasets_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotation_queue_interactions_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotations_data_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_annotations_data_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_delete_dataset_records_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_delete_datasets_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_delete_experiments_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_delete_projects_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_deleted_prompt_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_deleted_prompt_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_deleted_prompt_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_display_block_annotated_interaction_item.rb +22 -1
- data/lib/datadog_api_client/v2/models/llm_obs_event_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_attributes_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_data_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_eval_metric_event.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_events_data_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_events_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_metric.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_run_data_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_span.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_status.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_data_attributes_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_experiment_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_experimentation_analytics_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experimentation_search_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experimentation_simple_search_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_experiments_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_metric_assessment.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_metric_score_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_clustered_points_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_clustered_points_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_clustered_points_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_clustered_points_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_upsert_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_upsert_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_config_upsert_request_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_configs_list_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_configs_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_configs_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_configs_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_request_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_run_status_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_run_status_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_run_status_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_run_status_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_run_summary.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_runs_list_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_runs_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_runs_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_runs_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topic.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topic_with_clustered_points.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_with_clustered_points_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_with_clustered_points_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_with_clustered_points_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_topics_with_clustered_points_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_request_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_patterns_trigger_response_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_attributes_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_project_data_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_project_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_project_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_project_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_data_attributes_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_data_request.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_project_update_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_projects_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_sdk_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_label.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_list_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_version_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompt_versions_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_prompts_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_record_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_search_spans_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_search_spans_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_search_spans_request_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_search_spans_request_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_span_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_span_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_span_evaluation_metric.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_span_filter.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_span_io.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_span_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_spans_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_trace_annotated_interaction_item.rb +22 -1
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_version_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_version_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_update_prompt_version_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_estimate_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_bundle_config.rb +128 -0
- data/lib/datadog_api_client/v2/models/monitor_notification_rule_response_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination.rb +12 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination_compression.rb +64 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination_compression_gzip.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination_compression_gzip_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination_compression_zstd.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination_compression_zstd_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_azure_storage_destination_compression.rb +64 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_azure_storage_destination_compression_gzip.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_azure_storage_destination_compression_gzip_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_azure_storage_destination_compression_zstd.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_azure_storage_destination_compression_zstd_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +12 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination_compression.rb +64 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination_compression_gzip.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination_compression_gzip_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination_compression_zstd.rb +152 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination_compression_zstd_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_metrics_destination.rb +199 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_metrics_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb +12 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination_endpoint_target.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_tcp_source.rb +26 -1
- data/lib/datadog_api_client/v2/models/org_group_policy_attributes.rb +4 -4
- data/lib/datadog_api_client/v2/models/org_group_policy_create_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/org_group_policy_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/org_group_policy_enforcement_tier.rb +1 -1
- data/lib/datadog_api_client/v2/models/org_group_policy_filter_policy_type_value.rb +27 -0
- data/lib/datadog_api_client/v2/models/org_group_policy_policy_type.rb +2 -1
- data/lib/datadog_api_client/v2/models/org_group_policy_update_attributes.rb +16 -6
- data/lib/datadog_api_client/v2/models/org_group_policy_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_query.rb +185 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_request_attributes.rb +168 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_response_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_sort.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_list_sort_order.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_query.rb +2 -1
- data/lib/datadog_api_client/v2/models/product_analytics_analytics_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/product_analytics_calendar_interval.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_calendar_interval_type.rb +32 -0
- data/lib/datadog_api_client/v2/models/product_analytics_compute.rb +2 -1
- data/lib/datadog_api_client/v2/models/product_analytics_elapsed_time.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_journey_query.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_journey_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_request_attributes.rb → product_analytics_formula_journey_request_attributes.rb} +18 -18
- data/lib/datadog_api_client/v2/models/product_analytics_formula_journey_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_journey_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_retention_query.rb +167 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_retention_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_retention_request_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_retention_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_formula_retention_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_graph_query_compute.rb +164 -0
- data/lib/datadog_api_client/v2/models/product_analytics_graph_query_group_by.rb +198 -0
- data/lib/datadog_api_client/v2/models/product_analytics_graph_query_group_by_source.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_join_keys.rb +117 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_audience_account_query.rb +133 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_audience_filters.rb +143 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_audience_segment_query.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_audience_user_query.rb +133 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_computed_column.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_computed_column_name.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_conversion_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_entity.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_compute.rb +136 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_query.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_request_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_response_attributes.rb +188 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_step.rb +209 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_funnel_step_group.rb +188 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_query.rb +223 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_request_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_response_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_list_sort.rb +116 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_node_target.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_node_target_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_path_target.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_path_target_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_compute.rb +154 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_query.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_request_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_scalar_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_search.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_search_filters.rb +128 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_search_graph_filter.rb +177 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_search_graph_filter_name.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_search_graph_filter_operator.rb +30 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_target.rb +65 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_timeseries_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_timeseries_response_data.rb +167 -0
- data/lib/datadog_api_client/v2/models/product_analytics_journey_timeseries_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_response_meta.rb +1 -1
- data/lib/datadog_api_client/v2/models/product_analytics_retention_aggregation_target.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_aggregation_target_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_calendar_time_interval.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_calendar_time_interval_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_cell_scope.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_cell_scope_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_cohort_criteria.rb +147 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_cohort_scope.rb +144 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_request_type.rb → product_analytics_retention_cohort_scope_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/product_analytics_retention_cohort_target.rb +63 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_compute.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_compute_metric.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_entity.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_filters.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_fixed_time_interval.rb +169 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_fixed_time_interval_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_fixed_time_interval_unit.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_cohort.rb +191 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_cohort_cell.rb +195 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_cohort_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_query.rb +167 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_request_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_response_attributes.rb +141 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_grid_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_group_by.rb +195 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_group_by_target.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_index_target.rb +148 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_index_target_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_column.rb +105 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_column_field.rb +105 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_query.rb +177 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_request_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_response_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_list_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_period.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_return_condition.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_return_criteria.rb +136 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_return_period_scope.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_return_period_scope_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_scope.rb +65 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_search.rb +186 -0
- data/lib/datadog_api_client/v2/models/product_analytics_retention_time_interval.rb +64 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_aggregated_node.rb +155 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_aggregated_node_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_definition.rb +196 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_link.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_node.rb +188 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_node_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_request.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_request_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_request_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_response_attributes.rb +119 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_search.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_sankey_time.rb +144 -0
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response_attributes.rb +2 -1
- data/lib/datadog_api_client/v2/models/product_analytics_timeseries_response_data.rb +2 -1
- data/lib/datadog_api_client/v2/models/product_catalog_sk_us_api_version.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sk_us_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb +189 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb +301 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_on_demand_option.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb +185 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_pricing_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_pricing_unit_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_tiered_pricing.rb +126 -0
- data/lib/datadog_api_client/v2/models/product_catalog_sku_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_attributes.rb +136 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_create_attributes.rb +154 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/{tag_policy_update_request.rb → rum_exclusion_filter_create_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_data.rb +164 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_event_type.rb +32 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_meta.rb +125 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_update_attributes.rb +138 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_update_data.rb +167 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filter_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_exclusion_filters_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_update_attributes.rb +134 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_update_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_config_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_custom_config.rb +223 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_mode.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_reached_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_scope_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_retention_quota_window_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes.rb +21 -3
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_dependencies_items.rb +66 -3
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_dependencies_items_locations_items.rb +16 -6
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_dependencies_items_locations_items_file_position.rb +11 -1
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_dependencies_items_locations_items_nullable_file_position.rb +135 -0
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_scan_start_timestamp.rb +112 -0
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_tags.rb +105 -0
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_tags_tool.rb +80 -0
- data/lib/datadog_api_client/v2/models/sca_request_data_attributes_tags_tool_generator.rb +90 -0
- data/lib/datadog_api_client/v2/models/scanned_asset_metadata.rb +24 -3
- data/lib/datadog_api_client/v2/models/scanned_asset_metadata_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/serial_execution.rb +123 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_action.rb +67 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb +187 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb +282 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_data_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_data_response.rb +165 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_reorder_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_reorder_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_reorder_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_set_action.rb +165 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_set_action_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_shift_action.rb +165 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_shift_action_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_rules_response.rb +167 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_severity.rb +30 -0
- data/lib/datadog_api_client/v2/models/severity_modifier_severity_delta.rb +27 -0
- data/lib/datadog_api_client/v2/models/slack_reaction_config.rb +152 -0
- data/lib/datadog_api_client/v2/models/slack_trigger.rb +107 -0
- data/lib/datadog_api_client/v2/models/slack_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/spec.rb +21 -3
- data/lib/datadog_api_client/v2/models/spec_version.rb +1 -0
- data/lib/datadog_api_client/v2/models/stix_bundle_request.rb +177 -0
- data/lib/datadog_api_client/v2/models/stix_bundle_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/stix_content_encoding.rb +26 -0
- data/lib/datadog_api_client/v2/models/stix_ingest_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/stix_ingest_response_attributes.rb +177 -0
- data/lib/datadog_api_client/v2/models/stix_ingest_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/stix_ingest_response_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/stix_object.rb +309 -0
- data/lib/datadog_api_client/v2/models/stix_pattern_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/stix_spec_version.rb +26 -0
- data/lib/datadog_api_client/v2/models/{tag_policy_attributes.rb → tag_rule_attributes.rb} +59 -59
- data/lib/datadog_api_client/v2/models/{tag_policy_create_attributes.rb → tag_rule_create_attributes.rb} +44 -44
- data/lib/datadog_api_client/v2/models/{tag_policy_create_data.rb → tag_rule_create_data.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{tag_policy_score_response.rb → tag_rule_create_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{tag_policy_create_type.rb → tag_rule_create_type.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{tag_policy_data.rb → tag_rule_data.rb} +10 -10
- data/lib/datadog_api_client/v2/models/{tag_policy_include.rb → tag_rule_include.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{tag_policy_relationships.rb → tag_rule_relationships.rb} +5 -5
- data/lib/datadog_api_client/v2/models/tag_rule_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{tag_policy_response.rb → tag_rule_response.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{tag_policy_score_attributes.rb → tag_rule_score_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{tag_policy_score_data.rb → tag_rule_score_data.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{tag_policy_score_relationship.rb → tag_rule_score_relationship.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{tag_policy_score_relationship_data.rb → tag_rule_score_relationship_data.rb} +4 -4
- data/lib/datadog_api_client/v2/models/tag_rule_score_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{tag_policy_create_request.rb → tag_rule_score_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{tag_policy_source.rb → tag_rule_source.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{tag_policy_type.rb → tag_rule_type.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{tag_policy_update_attributes.rb → tag_rule_update_attributes.rb} +30 -30
- data/lib/datadog_api_client/v2/models/{tag_policy_update_data.rb → tag_rule_update_data.rb} +9 -9
- data/lib/datadog_api_client/v2/models/tag_rule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{tag_policies_list_response.rb → tag_rules_list_response.rb} +7 -7
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_error.rb +154 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation.rb +143 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation_data_attributes.rb +148 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation_op.rb +27 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_operation_ref.rb +144 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_result.rb +107 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_batch_result_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_response_attributes.rb → teams_ownership_mapping_batch_result_data_attributes.rb} +63 -64
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_create_data_attributes.rb +176 -0
- data/lib/datadog_api_client/v2/models/{llm_obs_data_deletion_response.rb → teams_ownership_mapping_create_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_response_attributes.rb +272 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mapping_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_mappings_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_match_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_rule_response_attributes.rb +211 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_rule_response_data.rb +167 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_rule_team_mapping.rb +144 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/teams_ownership_rules_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/trigger.rb +7 -0
- data/lib/datadog_api_client/v2/models/twilio_alerts_logs_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/twilio_alerts_logs_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/twilio_call_summaries_logs_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/twilio_call_summaries_logs_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/twilio_cloud_cost_metrics_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/twilio_cloud_cost_metrics_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/twilio_events_logs_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/twilio_events_logs_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_authentication_request.rb +62 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_authentication_response.rb +62 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_authentication_update.rb +62 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_create_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_response_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_settings_request.rb +133 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_settings_response.rb +133 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_settings_update.rb +115 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_update_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_account_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_accounts_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_dataflows_request.rb +120 -0
- data/lib/datadog_api_client/v2/models/twilio_integration_dataflows_response.rb +145 -0
- data/lib/datadog_api_client/v2/models/twilio_messages_logs_integration_dataflow_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/twilio_messages_logs_integration_dataflow_response.rb +115 -0
- data/lib/datadog_api_client/v2/models/usage_quota_bulk_result_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/usage_quota_bulk_result_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/usage_quota_create_attributes.rb +158 -0
- data/lib/datadog_api_client/v2/models/usage_quota_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/usage_quota_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/usage_quota_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/usage_quota_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/usage_quota_update_attributes.rb +142 -0
- data/lib/datadog_api_client/v2/models/usage_quota_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/usage_quota_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/usage_quotas_bulk_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/usage_quotas_create_request.rb +129 -0
- data/lib/datadog_api_client/v2/models/usage_quotas_list_response.rb +146 -0
- data/lib/datadog_api_client/v2/models/usage_quotas_response_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/usage_quotas_response_meta_page.rb +105 -0
- data/lib/datadog_api_client/v2/models/vulnerability_type.rb +2 -0
- data/lib/datadog_api_client/v2/models/workflow_data_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/workflow_data_relationships.rb +13 -3
- data/lib/datadog_api_client/v2/models/workflow_data_update_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/workflow_list_item_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/workflow_run_as.rb +64 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_initiator.rb +98 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_initiator_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_owner.rb +98 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_owner_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_service_account.rb +119 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_service_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/workflow_run_as_user_mode.rb +28 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/api_client_spec.rb +17 -0
- metadata +580 -113
- data/examples/v2/llm-observability/CreateLLMObsPrompt.rb +0 -28
- data/examples/v2/llm-observability/CreateLLMObsPromptVersion.rb +0 -29
- data/examples/v2/llm-observability/DeleteLLMObsData.rb +0 -22
- data/examples/v2/llm-observability/DeleteLLMObsPrompt.rb +0 -11
- data/examples/v2/llm-observability/GetLLMObsPrompt.rb +0 -11
- data/examples/v2/llm-observability/GetLLMObsPromptVersion.rb +0 -14
- data/examples/v2/llm-observability/ListLLMObsPromptVersions.rb +0 -11
- data/examples/v2/llm-observability/ListLLMObsPrompts.rb +0 -14
- data/examples/v2/llm-observability/UpdateLLMObsPromptVersion.rb +0 -23
- data/examples/v2/tag-policies/CreateTagPolicy.rb +0 -28
- data/examples/v2/tag-policies/DeleteTagPolicy.rb +0 -8
- data/examples/v2/tag-policies/GetTagPolicy.rb +0 -8
- data/examples/v2/tag-policies/GetTagPolicyScore.rb +0 -8
- data/examples/v2/tag-policies/ListTagPolicies.rb +0 -8
- data/examples/v2/tag-policies/UpdateTagPolicy.rb +0 -19
|
@@ -16,14 +16,14 @@ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.ge
|
|
|
16
16
|
require 'cgi'
|
|
17
17
|
|
|
18
18
|
module DatadogAPIClient::V2
|
|
19
|
-
class
|
|
19
|
+
class AgentObservabilityAPI
|
|
20
20
|
attr_accessor :api_client
|
|
21
21
|
|
|
22
22
|
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
|
23
23
|
@api_client = api_client
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
# Aggregate
|
|
26
|
+
# Aggregate Agent Observability experimentation.
|
|
27
27
|
#
|
|
28
28
|
# @see #aggregate_llm_obs_experimentation_with_http_info
|
|
29
29
|
def aggregate_llm_obs_experimentation(body, opts = {})
|
|
@@ -31,9 +31,9 @@ module DatadogAPIClient::V2
|
|
|
31
31
|
data
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# Aggregate
|
|
34
|
+
# Aggregate Agent Observability experimentation.
|
|
35
35
|
#
|
|
36
|
-
# Execute an analytics aggregation over
|
|
36
|
+
# Execute an analytics aggregation over Agent Observability experimentation data.
|
|
37
37
|
# Use this endpoint to compute metrics (for example average eval scores) grouped by fields such as `span_id` or `experiment_id`.
|
|
38
38
|
#
|
|
39
39
|
# At least one `compute` definition and one `index` must be provided.
|
|
@@ -50,11 +50,11 @@ module DatadogAPIClient::V2
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
if @api_client.config.debugging
|
|
53
|
-
@api_client.config.logger.debug 'Calling API:
|
|
53
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.aggregate_llm_obs_experimentation ...'
|
|
54
54
|
end
|
|
55
55
|
# verify the required parameter 'body' is set
|
|
56
56
|
if @api_client.config.client_side_validation && body.nil?
|
|
57
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
57
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.aggregate_llm_obs_experimentation"
|
|
58
58
|
end
|
|
59
59
|
# resource path
|
|
60
60
|
local_var_path = '/api/v2/llm-obs/v1/experimentation/analytics'
|
|
@@ -94,12 +94,12 @@ module DatadogAPIClient::V2
|
|
|
94
94
|
|
|
95
95
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
96
96
|
if @api_client.config.debugging
|
|
97
|
-
@api_client.config.logger.debug "API called:
|
|
97
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#aggregate_llm_obs_experimentation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
98
98
|
end
|
|
99
99
|
return data, status_code, headers
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# Batch update
|
|
102
|
+
# Batch update Agent Observability dataset records.
|
|
103
103
|
#
|
|
104
104
|
# @see #batch_update_llm_obs_dataset_with_http_info
|
|
105
105
|
def batch_update_llm_obs_dataset(project_id, dataset_id, body, opts = {})
|
|
@@ -107,12 +107,12 @@ module DatadogAPIClient::V2
|
|
|
107
107
|
data
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
# Batch update
|
|
110
|
+
# Batch update Agent Observability dataset records.
|
|
111
111
|
#
|
|
112
112
|
# Insert, update, and delete records in a single dataset operation. By default, a new dataset version is created when the batch is applied.
|
|
113
113
|
#
|
|
114
|
-
# @param project_id [String] The ID of the
|
|
115
|
-
# @param dataset_id [String] The ID of the
|
|
114
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
115
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
116
116
|
# @param body [LLMObsDatasetBatchUpdateRequest] Batch update payload.
|
|
117
117
|
# @param opts [Hash] the optional parameters
|
|
118
118
|
# @return [Array<(LLMObsDatasetRecordsMutationResponse, Integer, Hash)>] LLMObsDatasetRecordsMutationResponse data, response status code and response headers
|
|
@@ -125,19 +125,19 @@ module DatadogAPIClient::V2
|
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
if @api_client.config.debugging
|
|
128
|
-
@api_client.config.logger.debug 'Calling API:
|
|
128
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.batch_update_llm_obs_dataset ...'
|
|
129
129
|
end
|
|
130
130
|
# verify the required parameter 'project_id' is set
|
|
131
131
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
132
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
132
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.batch_update_llm_obs_dataset"
|
|
133
133
|
end
|
|
134
134
|
# verify the required parameter 'dataset_id' is set
|
|
135
135
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
136
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
136
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.batch_update_llm_obs_dataset"
|
|
137
137
|
end
|
|
138
138
|
# verify the required parameter 'body' is set
|
|
139
139
|
if @api_client.config.client_side_validation && body.nil?
|
|
140
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
140
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.batch_update_llm_obs_dataset"
|
|
141
141
|
end
|
|
142
142
|
# resource path
|
|
143
143
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/batch_update'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -177,12 +177,12 @@ module DatadogAPIClient::V2
|
|
|
177
177
|
|
|
178
178
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
179
179
|
if @api_client.config.debugging
|
|
180
|
-
@api_client.config.logger.debug "API called:
|
|
180
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#batch_update_llm_obs_dataset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
181
181
|
end
|
|
182
182
|
return data, status_code, headers
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
# Clone an
|
|
185
|
+
# Clone an Agent Observability dataset.
|
|
186
186
|
#
|
|
187
187
|
# @see #clone_llm_obs_dataset_with_http_info
|
|
188
188
|
def clone_llm_obs_dataset(project_id, dataset_id, body, opts = {})
|
|
@@ -190,12 +190,12 @@ module DatadogAPIClient::V2
|
|
|
190
190
|
data
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
# Clone an
|
|
193
|
+
# Clone an Agent Observability dataset.
|
|
194
194
|
#
|
|
195
195
|
# Clone a dataset, copying its current records into a new dataset within the same project.
|
|
196
196
|
#
|
|
197
|
-
# @param project_id [String] The ID of the
|
|
198
|
-
# @param dataset_id [String] The ID of the source
|
|
197
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
198
|
+
# @param dataset_id [String] The ID of the source Agent Observability dataset to clone.
|
|
199
199
|
# @param body [LLMObsDatasetCloneRequest] Clone dataset payload.
|
|
200
200
|
# @param opts [Hash] the optional parameters
|
|
201
201
|
# @return [Array<(LLMObsDatasetResponse, Integer, Hash)>] LLMObsDatasetResponse data, response status code and response headers
|
|
@@ -208,19 +208,19 @@ module DatadogAPIClient::V2
|
|
|
208
208
|
end
|
|
209
209
|
|
|
210
210
|
if @api_client.config.debugging
|
|
211
|
-
@api_client.config.logger.debug 'Calling API:
|
|
211
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.clone_llm_obs_dataset ...'
|
|
212
212
|
end
|
|
213
213
|
# verify the required parameter 'project_id' is set
|
|
214
214
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
215
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
215
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.clone_llm_obs_dataset"
|
|
216
216
|
end
|
|
217
217
|
# verify the required parameter 'dataset_id' is set
|
|
218
218
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
219
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
219
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.clone_llm_obs_dataset"
|
|
220
220
|
end
|
|
221
221
|
# verify the required parameter 'body' is set
|
|
222
222
|
if @api_client.config.client_side_validation && body.nil?
|
|
223
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
223
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.clone_llm_obs_dataset"
|
|
224
224
|
end
|
|
225
225
|
# resource path
|
|
226
226
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/clone'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -260,12 +260,12 @@ module DatadogAPIClient::V2
|
|
|
260
260
|
|
|
261
261
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
262
262
|
if @api_client.config.debugging
|
|
263
|
-
@api_client.config.logger.debug "API called:
|
|
263
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#clone_llm_obs_dataset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
264
264
|
end
|
|
265
265
|
return data, status_code, headers
|
|
266
266
|
end
|
|
267
267
|
|
|
268
|
-
# Create an
|
|
268
|
+
# Create an Agent Observability annotation queue.
|
|
269
269
|
#
|
|
270
270
|
# @see #create_llm_obs_annotation_queue_with_http_info
|
|
271
271
|
def create_llm_obs_annotation_queue(body, opts = {})
|
|
@@ -273,10 +273,11 @@ module DatadogAPIClient::V2
|
|
|
273
273
|
data
|
|
274
274
|
end
|
|
275
275
|
|
|
276
|
-
# Create an
|
|
276
|
+
# Create an Agent Observability annotation queue.
|
|
277
277
|
#
|
|
278
278
|
# Create an annotation queue. The `name` and `project_id` fields are required.
|
|
279
279
|
# An optional `annotation_schema` can be provided to define the labels for the queue.
|
|
280
|
+
# Optional access-control fields can restrict annotation access to reviewers or assignees.
|
|
280
281
|
# Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`,
|
|
281
282
|
# and `modified_at` are inferred by the backend.
|
|
282
283
|
#
|
|
@@ -292,11 +293,11 @@ module DatadogAPIClient::V2
|
|
|
292
293
|
end
|
|
293
294
|
|
|
294
295
|
if @api_client.config.debugging
|
|
295
|
-
@api_client.config.logger.debug 'Calling API:
|
|
296
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_annotation_queue ...'
|
|
296
297
|
end
|
|
297
298
|
# verify the required parameter 'body' is set
|
|
298
299
|
if @api_client.config.client_side_validation && body.nil?
|
|
299
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
300
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_annotation_queue"
|
|
300
301
|
end
|
|
301
302
|
# resource path
|
|
302
303
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues'
|
|
@@ -336,7 +337,7 @@ module DatadogAPIClient::V2
|
|
|
336
337
|
|
|
337
338
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
338
339
|
if @api_client.config.debugging
|
|
339
|
-
@api_client.config.logger.debug "API called:
|
|
340
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
340
341
|
end
|
|
341
342
|
return data, status_code, headers
|
|
342
343
|
end
|
|
@@ -362,7 +363,7 @@ module DatadogAPIClient::V2
|
|
|
362
363
|
#
|
|
363
364
|
# Items of different types can be mixed in a single request.
|
|
364
365
|
#
|
|
365
|
-
# @param queue_id [String] The ID of the
|
|
366
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
366
367
|
# @param body [LLMObsAnnotationQueueInteractionsRequest] Add interactions payload.
|
|
367
368
|
# @param opts [Hash] the optional parameters
|
|
368
369
|
# @return [Array<(LLMObsAnnotationQueueInteractionsResponse, Integer, Hash)>] LLMObsAnnotationQueueInteractionsResponse data, response status code and response headers
|
|
@@ -375,15 +376,15 @@ module DatadogAPIClient::V2
|
|
|
375
376
|
end
|
|
376
377
|
|
|
377
378
|
if @api_client.config.debugging
|
|
378
|
-
@api_client.config.logger.debug 'Calling API:
|
|
379
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_annotation_queue_interactions ...'
|
|
379
380
|
end
|
|
380
381
|
# verify the required parameter 'queue_id' is set
|
|
381
382
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
382
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
383
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.create_llm_obs_annotation_queue_interactions"
|
|
383
384
|
end
|
|
384
385
|
# verify the required parameter 'body' is set
|
|
385
386
|
if @api_client.config.client_side_validation && body.nil?
|
|
386
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
387
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_annotation_queue_interactions"
|
|
387
388
|
end
|
|
388
389
|
# resource path
|
|
389
390
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -423,12 +424,12 @@ module DatadogAPIClient::V2
|
|
|
423
424
|
|
|
424
425
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
425
426
|
if @api_client.config.debugging
|
|
426
|
-
@api_client.config.logger.debug "API called:
|
|
427
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_annotation_queue_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
427
428
|
end
|
|
428
429
|
return data, status_code, headers
|
|
429
430
|
end
|
|
430
431
|
|
|
431
|
-
# Create an
|
|
432
|
+
# Create an Agent Observability dataset.
|
|
432
433
|
#
|
|
433
434
|
# @see #create_llm_obs_dataset_with_http_info
|
|
434
435
|
def create_llm_obs_dataset(project_id, body, opts = {})
|
|
@@ -436,11 +437,11 @@ module DatadogAPIClient::V2
|
|
|
436
437
|
data
|
|
437
438
|
end
|
|
438
439
|
|
|
439
|
-
# Create an
|
|
440
|
+
# Create an Agent Observability dataset.
|
|
440
441
|
#
|
|
441
|
-
# Create a new
|
|
442
|
+
# Create a new Agent Observability dataset within the specified project.
|
|
442
443
|
#
|
|
443
|
-
# @param project_id [String] The ID of the
|
|
444
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
444
445
|
# @param body [LLMObsDatasetRequest] Create dataset payload.
|
|
445
446
|
# @param opts [Hash] the optional parameters
|
|
446
447
|
# @return [Array<(LLMObsDatasetResponse, Integer, Hash)>] LLMObsDatasetResponse data, response status code and response headers
|
|
@@ -453,15 +454,15 @@ module DatadogAPIClient::V2
|
|
|
453
454
|
end
|
|
454
455
|
|
|
455
456
|
if @api_client.config.debugging
|
|
456
|
-
@api_client.config.logger.debug 'Calling API:
|
|
457
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_dataset ...'
|
|
457
458
|
end
|
|
458
459
|
# verify the required parameter 'project_id' is set
|
|
459
460
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
460
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
461
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.create_llm_obs_dataset"
|
|
461
462
|
end
|
|
462
463
|
# verify the required parameter 'body' is set
|
|
463
464
|
if @api_client.config.client_side_validation && body.nil?
|
|
464
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
465
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_dataset"
|
|
465
466
|
end
|
|
466
467
|
# resource path
|
|
467
468
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/'))
|
|
@@ -501,12 +502,12 @@ module DatadogAPIClient::V2
|
|
|
501
502
|
|
|
502
503
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
503
504
|
if @api_client.config.debugging
|
|
504
|
-
@api_client.config.logger.debug "API called:
|
|
505
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_dataset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
505
506
|
end
|
|
506
507
|
return data, status_code, headers
|
|
507
508
|
end
|
|
508
509
|
|
|
509
|
-
# Append records to an
|
|
510
|
+
# Append records to an Agent Observability dataset.
|
|
510
511
|
#
|
|
511
512
|
# @see #create_llm_obs_dataset_records_with_http_info
|
|
512
513
|
def create_llm_obs_dataset_records(project_id, dataset_id, body, opts = {})
|
|
@@ -514,12 +515,12 @@ module DatadogAPIClient::V2
|
|
|
514
515
|
data
|
|
515
516
|
end
|
|
516
517
|
|
|
517
|
-
# Append records to an
|
|
518
|
+
# Append records to an Agent Observability dataset.
|
|
518
519
|
#
|
|
519
|
-
# Append one or more records to an
|
|
520
|
+
# Append one or more records to an Agent Observability dataset.
|
|
520
521
|
#
|
|
521
|
-
# @param project_id [String] The ID of the
|
|
522
|
-
# @param dataset_id [String] The ID of the
|
|
522
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
523
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
523
524
|
# @param body [LLMObsDatasetRecordsRequest] Append records payload.
|
|
524
525
|
# @param opts [Hash] the optional parameters
|
|
525
526
|
# @return [Array<(LLMObsDatasetRecordsMutationResponse, Integer, Hash)>] LLMObsDatasetRecordsMutationResponse data, response status code and response headers
|
|
@@ -532,19 +533,19 @@ module DatadogAPIClient::V2
|
|
|
532
533
|
end
|
|
533
534
|
|
|
534
535
|
if @api_client.config.debugging
|
|
535
|
-
@api_client.config.logger.debug 'Calling API:
|
|
536
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_dataset_records ...'
|
|
536
537
|
end
|
|
537
538
|
# verify the required parameter 'project_id' is set
|
|
538
539
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
539
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
540
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.create_llm_obs_dataset_records"
|
|
540
541
|
end
|
|
541
542
|
# verify the required parameter 'dataset_id' is set
|
|
542
543
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
543
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
544
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.create_llm_obs_dataset_records"
|
|
544
545
|
end
|
|
545
546
|
# verify the required parameter 'body' is set
|
|
546
547
|
if @api_client.config.client_side_validation && body.nil?
|
|
547
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
548
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_dataset_records"
|
|
548
549
|
end
|
|
549
550
|
# resource path
|
|
550
551
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -584,12 +585,12 @@ module DatadogAPIClient::V2
|
|
|
584
585
|
|
|
585
586
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
586
587
|
if @api_client.config.debugging
|
|
587
|
-
@api_client.config.logger.debug "API called:
|
|
588
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_dataset_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
588
589
|
end
|
|
589
590
|
return data, status_code, headers
|
|
590
591
|
end
|
|
591
592
|
|
|
592
|
-
# Create an
|
|
593
|
+
# Create an Agent Observability experiment.
|
|
593
594
|
#
|
|
594
595
|
# @see #create_llm_obs_experiment_with_http_info
|
|
595
596
|
def create_llm_obs_experiment(body, opts = {})
|
|
@@ -597,9 +598,9 @@ module DatadogAPIClient::V2
|
|
|
597
598
|
data
|
|
598
599
|
end
|
|
599
600
|
|
|
600
|
-
# Create an
|
|
601
|
+
# Create an Agent Observability experiment.
|
|
601
602
|
#
|
|
602
|
-
# Create a new
|
|
603
|
+
# Create a new Agent Observability experiment.
|
|
603
604
|
#
|
|
604
605
|
# @param body [LLMObsExperimentRequest] Create experiment payload.
|
|
605
606
|
# @param opts [Hash] the optional parameters
|
|
@@ -613,11 +614,11 @@ module DatadogAPIClient::V2
|
|
|
613
614
|
end
|
|
614
615
|
|
|
615
616
|
if @api_client.config.debugging
|
|
616
|
-
@api_client.config.logger.debug 'Calling API:
|
|
617
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_experiment ...'
|
|
617
618
|
end
|
|
618
619
|
# verify the required parameter 'body' is set
|
|
619
620
|
if @api_client.config.client_side_validation && body.nil?
|
|
620
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
621
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_experiment"
|
|
621
622
|
end
|
|
622
623
|
# resource path
|
|
623
624
|
local_var_path = '/api/v2/llm-obs/v1/experiments'
|
|
@@ -657,12 +658,12 @@ module DatadogAPIClient::V2
|
|
|
657
658
|
|
|
658
659
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
659
660
|
if @api_client.config.debugging
|
|
660
|
-
@api_client.config.logger.debug "API called:
|
|
661
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_experiment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
661
662
|
end
|
|
662
663
|
return data, status_code, headers
|
|
663
664
|
end
|
|
664
665
|
|
|
665
|
-
# Push events for an
|
|
666
|
+
# Push events for an Agent Observability experiment.
|
|
666
667
|
#
|
|
667
668
|
# @see #create_llm_obs_experiment_events_with_http_info
|
|
668
669
|
def create_llm_obs_experiment_events(experiment_id, body, opts = {})
|
|
@@ -670,11 +671,11 @@ module DatadogAPIClient::V2
|
|
|
670
671
|
nil
|
|
671
672
|
end
|
|
672
673
|
|
|
673
|
-
# Push events for an
|
|
674
|
+
# Push events for an Agent Observability experiment.
|
|
674
675
|
#
|
|
675
|
-
# Push spans and metrics for an
|
|
676
|
+
# Push spans and metrics for an Agent Observability experiment.
|
|
676
677
|
#
|
|
677
|
-
# @param experiment_id [String] The ID of the
|
|
678
|
+
# @param experiment_id [String] The ID of the Agent Observability experiment.
|
|
678
679
|
# @param body [LLMObsExperimentEventsRequest] Experiment events payload.
|
|
679
680
|
# @param opts [Hash] the optional parameters
|
|
680
681
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -687,15 +688,15 @@ module DatadogAPIClient::V2
|
|
|
687
688
|
end
|
|
688
689
|
|
|
689
690
|
if @api_client.config.debugging
|
|
690
|
-
@api_client.config.logger.debug 'Calling API:
|
|
691
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_experiment_events ...'
|
|
691
692
|
end
|
|
692
693
|
# verify the required parameter 'experiment_id' is set
|
|
693
694
|
if @api_client.config.client_side_validation && experiment_id.nil?
|
|
694
|
-
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling
|
|
695
|
+
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling AgentObservabilityAPI.create_llm_obs_experiment_events"
|
|
695
696
|
end
|
|
696
697
|
# verify the required parameter 'body' is set
|
|
697
698
|
if @api_client.config.client_side_validation && body.nil?
|
|
698
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
699
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_experiment_events"
|
|
699
700
|
end
|
|
700
701
|
# resource path
|
|
701
702
|
local_var_path = '/api/v2/llm-obs/v1/experiments/{experiment_id}/events'.sub('{experiment_id}', CGI.escape(experiment_id.to_s).gsub('%2F', '/'))
|
|
@@ -735,7 +736,7 @@ module DatadogAPIClient::V2
|
|
|
735
736
|
|
|
736
737
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
737
738
|
if @api_client.config.debugging
|
|
738
|
-
@api_client.config.logger.debug "API called:
|
|
739
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_experiment_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
739
740
|
end
|
|
740
741
|
return data, status_code, headers
|
|
741
742
|
end
|
|
@@ -766,11 +767,11 @@ module DatadogAPIClient::V2
|
|
|
766
767
|
end
|
|
767
768
|
|
|
768
769
|
if @api_client.config.debugging
|
|
769
|
-
@api_client.config.logger.debug 'Calling API:
|
|
770
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_integration_inference ...'
|
|
770
771
|
end
|
|
771
772
|
# verify the required parameter 'integration' is set
|
|
772
773
|
if @api_client.config.client_side_validation && integration.nil?
|
|
773
|
-
fail ArgumentError, "Missing the required parameter 'integration' when calling
|
|
774
|
+
fail ArgumentError, "Missing the required parameter 'integration' when calling AgentObservabilityAPI.create_llm_obs_integration_inference"
|
|
774
775
|
end
|
|
775
776
|
# verify enum value
|
|
776
777
|
allowable_values = ['openai', 'amazon_bedrock', 'anthropic', 'azure_openai', 'vertex_ai', 'llmproxy']
|
|
@@ -779,11 +780,11 @@ module DatadogAPIClient::V2
|
|
|
779
780
|
end
|
|
780
781
|
# verify the required parameter 'account_id' is set
|
|
781
782
|
if @api_client.config.client_side_validation && account_id.nil?
|
|
782
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling
|
|
783
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AgentObservabilityAPI.create_llm_obs_integration_inference"
|
|
783
784
|
end
|
|
784
785
|
# verify the required parameter 'body' is set
|
|
785
786
|
if @api_client.config.client_side_validation && body.nil?
|
|
786
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
787
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_integration_inference"
|
|
787
788
|
end
|
|
788
789
|
# resource path
|
|
789
790
|
local_var_path = '/api/v2/llm-obs/v1/integrations/{integration}/{account_id}/inference'.sub('{integration}', CGI.escape(integration.to_s).gsub('%2F', '/')).sub('{account_id}', CGI.escape(account_id.to_s).gsub('%2F', '/'))
|
|
@@ -823,12 +824,12 @@ module DatadogAPIClient::V2
|
|
|
823
824
|
|
|
824
825
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
825
826
|
if @api_client.config.debugging
|
|
826
|
-
@api_client.config.logger.debug "API called:
|
|
827
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_integration_inference\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
827
828
|
end
|
|
828
829
|
return data, status_code, headers
|
|
829
830
|
end
|
|
830
831
|
|
|
831
|
-
# Create an
|
|
832
|
+
# Create an Agent Observability project.
|
|
832
833
|
#
|
|
833
834
|
# @see #create_llm_obs_project_with_http_info
|
|
834
835
|
def create_llm_obs_project(body, opts = {})
|
|
@@ -836,9 +837,9 @@ module DatadogAPIClient::V2
|
|
|
836
837
|
data
|
|
837
838
|
end
|
|
838
839
|
|
|
839
|
-
# Create an
|
|
840
|
+
# Create an Agent Observability project.
|
|
840
841
|
#
|
|
841
|
-
# Create a new
|
|
842
|
+
# Create a new Agent Observability project. Returns the existing project if a name conflict occurs.
|
|
842
843
|
#
|
|
843
844
|
# @param body [LLMObsProjectRequest] Create project payload.
|
|
844
845
|
# @param opts [Hash] the optional parameters
|
|
@@ -852,11 +853,11 @@ module DatadogAPIClient::V2
|
|
|
852
853
|
end
|
|
853
854
|
|
|
854
855
|
if @api_client.config.debugging
|
|
855
|
-
@api_client.config.logger.debug 'Calling API:
|
|
856
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_project ...'
|
|
856
857
|
end
|
|
857
858
|
# verify the required parameter 'body' is set
|
|
858
859
|
if @api_client.config.client_side_validation && body.nil?
|
|
859
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
860
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_project"
|
|
860
861
|
end
|
|
861
862
|
# resource path
|
|
862
863
|
local_var_path = '/api/v2/llm-obs/v1/projects'
|
|
@@ -896,12 +897,12 @@ module DatadogAPIClient::V2
|
|
|
896
897
|
|
|
897
898
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
898
899
|
if @api_client.config.debugging
|
|
899
|
-
@api_client.config.logger.debug "API called:
|
|
900
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
900
901
|
end
|
|
901
902
|
return data, status_code, headers
|
|
902
903
|
end
|
|
903
904
|
|
|
904
|
-
# Create an
|
|
905
|
+
# Create an Agent Observability prompt.
|
|
905
906
|
#
|
|
906
907
|
# @see #create_llm_obs_prompt_with_http_info
|
|
907
908
|
def create_llm_obs_prompt(body, opts = {})
|
|
@@ -909,9 +910,9 @@ module DatadogAPIClient::V2
|
|
|
909
910
|
data
|
|
910
911
|
end
|
|
911
912
|
|
|
912
|
-
# Create an
|
|
913
|
+
# Create an Agent Observability prompt.
|
|
913
914
|
#
|
|
914
|
-
# Create a new prompt (and its first version) in the
|
|
915
|
+
# Create a new prompt (and its first version) in the Agent Observability prompt registry.
|
|
915
916
|
#
|
|
916
917
|
# @param body [LLMObsCreatePromptRequest] Create prompt payload.
|
|
917
918
|
# @param opts [Hash] the optional parameters
|
|
@@ -925,11 +926,11 @@ module DatadogAPIClient::V2
|
|
|
925
926
|
end
|
|
926
927
|
|
|
927
928
|
if @api_client.config.debugging
|
|
928
|
-
@api_client.config.logger.debug 'Calling API:
|
|
929
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_prompt ...'
|
|
929
930
|
end
|
|
930
931
|
# verify the required parameter 'body' is set
|
|
931
932
|
if @api_client.config.client_side_validation && body.nil?
|
|
932
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
933
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_prompt"
|
|
933
934
|
end
|
|
934
935
|
# resource path
|
|
935
936
|
local_var_path = '/api/v2/llm-obs/v1/prompts'
|
|
@@ -969,12 +970,12 @@ module DatadogAPIClient::V2
|
|
|
969
970
|
|
|
970
971
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
971
972
|
if @api_client.config.debugging
|
|
972
|
-
@api_client.config.logger.debug "API called:
|
|
973
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
973
974
|
end
|
|
974
975
|
return data, status_code, headers
|
|
975
976
|
end
|
|
976
977
|
|
|
977
|
-
# Create a new
|
|
978
|
+
# Create a new Agent Observability prompt version.
|
|
978
979
|
#
|
|
979
980
|
# @see #create_llm_obs_prompt_version_with_http_info
|
|
980
981
|
def create_llm_obs_prompt_version(prompt_id, body, opts = {})
|
|
@@ -982,11 +983,11 @@ module DatadogAPIClient::V2
|
|
|
982
983
|
data
|
|
983
984
|
end
|
|
984
985
|
|
|
985
|
-
# Create a new
|
|
986
|
+
# Create a new Agent Observability prompt version.
|
|
986
987
|
#
|
|
987
|
-
# Create a new version of an existing
|
|
988
|
+
# Create a new version of an existing Agent Observability prompt.
|
|
988
989
|
#
|
|
989
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
990
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
990
991
|
# @param body [LLMObsCreatePromptVersionRequest] Create prompt version payload.
|
|
991
992
|
# @param opts [Hash] the optional parameters
|
|
992
993
|
# @return [Array<(LLMObsPromptVersionResponse, Integer, Hash)>] LLMObsPromptVersionResponse data, response status code and response headers
|
|
@@ -999,15 +1000,15 @@ module DatadogAPIClient::V2
|
|
|
999
1000
|
end
|
|
1000
1001
|
|
|
1001
1002
|
if @api_client.config.debugging
|
|
1002
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1003
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.create_llm_obs_prompt_version ...'
|
|
1003
1004
|
end
|
|
1004
1005
|
# verify the required parameter 'prompt_id' is set
|
|
1005
1006
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
1006
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
1007
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.create_llm_obs_prompt_version"
|
|
1007
1008
|
end
|
|
1008
1009
|
# verify the required parameter 'body' is set
|
|
1009
1010
|
if @api_client.config.client_side_validation && body.nil?
|
|
1010
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1011
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.create_llm_obs_prompt_version"
|
|
1011
1012
|
end
|
|
1012
1013
|
# resource path
|
|
1013
1014
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}/versions'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/'))
|
|
@@ -1047,12 +1048,12 @@ module DatadogAPIClient::V2
|
|
|
1047
1048
|
|
|
1048
1049
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1049
1050
|
if @api_client.config.debugging
|
|
1050
|
-
@api_client.config.logger.debug "API called:
|
|
1051
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#create_llm_obs_prompt_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1051
1052
|
end
|
|
1052
1053
|
return data, status_code, headers
|
|
1053
1054
|
end
|
|
1054
1055
|
|
|
1055
|
-
# Delete an
|
|
1056
|
+
# Delete an Agent Observability annotation queue.
|
|
1056
1057
|
#
|
|
1057
1058
|
# @see #delete_llm_obs_annotation_queue_with_http_info
|
|
1058
1059
|
def delete_llm_obs_annotation_queue(queue_id, opts = {})
|
|
@@ -1060,11 +1061,11 @@ module DatadogAPIClient::V2
|
|
|
1060
1061
|
nil
|
|
1061
1062
|
end
|
|
1062
1063
|
|
|
1063
|
-
# Delete an
|
|
1064
|
+
# Delete an Agent Observability annotation queue.
|
|
1064
1065
|
#
|
|
1065
1066
|
# Delete an annotation queue by its ID.
|
|
1066
1067
|
#
|
|
1067
|
-
# @param queue_id [String] The ID of the
|
|
1068
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
1068
1069
|
# @param opts [Hash] the optional parameters
|
|
1069
1070
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1070
1071
|
def delete_llm_obs_annotation_queue_with_http_info(queue_id, opts = {})
|
|
@@ -1076,11 +1077,11 @@ module DatadogAPIClient::V2
|
|
|
1076
1077
|
end
|
|
1077
1078
|
|
|
1078
1079
|
if @api_client.config.debugging
|
|
1079
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1080
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_annotation_queue ...'
|
|
1080
1081
|
end
|
|
1081
1082
|
# verify the required parameter 'queue_id' is set
|
|
1082
1083
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1083
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
1084
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.delete_llm_obs_annotation_queue"
|
|
1084
1085
|
end
|
|
1085
1086
|
# resource path
|
|
1086
1087
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -1118,7 +1119,7 @@ module DatadogAPIClient::V2
|
|
|
1118
1119
|
|
|
1119
1120
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
1120
1121
|
if @api_client.config.debugging
|
|
1121
|
-
@api_client.config.logger.debug "API called:
|
|
1122
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1122
1123
|
end
|
|
1123
1124
|
return data, status_code, headers
|
|
1124
1125
|
end
|
|
@@ -1135,7 +1136,7 @@ module DatadogAPIClient::V2
|
|
|
1135
1136
|
#
|
|
1136
1137
|
# Delete one or more interactions from an annotation queue.
|
|
1137
1138
|
#
|
|
1138
|
-
# @param queue_id [String] The ID of the
|
|
1139
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
1139
1140
|
# @param body [LLMObsDeleteAnnotationQueueInteractionsRequest] Delete interactions payload.
|
|
1140
1141
|
# @param opts [Hash] the optional parameters
|
|
1141
1142
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1148,15 +1149,15 @@ module DatadogAPIClient::V2
|
|
|
1148
1149
|
end
|
|
1149
1150
|
|
|
1150
1151
|
if @api_client.config.debugging
|
|
1151
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1152
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_annotation_queue_interactions ...'
|
|
1152
1153
|
end
|
|
1153
1154
|
# verify the required parameter 'queue_id' is set
|
|
1154
1155
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1155
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
1156
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.delete_llm_obs_annotation_queue_interactions"
|
|
1156
1157
|
end
|
|
1157
1158
|
# verify the required parameter 'body' is set
|
|
1158
1159
|
if @api_client.config.client_side_validation && body.nil?
|
|
1159
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1160
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_annotation_queue_interactions"
|
|
1160
1161
|
end
|
|
1161
1162
|
# resource path
|
|
1162
1163
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions/delete'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -1196,7 +1197,7 @@ module DatadogAPIClient::V2
|
|
|
1196
1197
|
|
|
1197
1198
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1198
1199
|
if @api_client.config.debugging
|
|
1199
|
-
@api_client.config.logger.debug "API called:
|
|
1200
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_annotation_queue_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1200
1201
|
end
|
|
1201
1202
|
return data, status_code, headers
|
|
1202
1203
|
end
|
|
@@ -1213,7 +1214,7 @@ module DatadogAPIClient::V2
|
|
|
1213
1214
|
#
|
|
1214
1215
|
# Delete one or more annotations from an annotation queue.
|
|
1215
1216
|
#
|
|
1216
|
-
# @param queue_id [String] The ID of the
|
|
1217
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
1217
1218
|
# @param body [LLMObsDeleteAnnotationsRequest] Delete annotations payload.
|
|
1218
1219
|
# @param opts [Hash] the optional parameters
|
|
1219
1220
|
# @return [Array<(LLMObsDeleteAnnotationsResponse, Integer, Hash)>] LLMObsDeleteAnnotationsResponse data, response status code and response headers
|
|
@@ -1226,15 +1227,15 @@ module DatadogAPIClient::V2
|
|
|
1226
1227
|
end
|
|
1227
1228
|
|
|
1228
1229
|
if @api_client.config.debugging
|
|
1229
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1230
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_annotations ...'
|
|
1230
1231
|
end
|
|
1231
1232
|
# verify the required parameter 'queue_id' is set
|
|
1232
1233
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1233
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
1234
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.delete_llm_obs_annotations"
|
|
1234
1235
|
end
|
|
1235
1236
|
# verify the required parameter 'body' is set
|
|
1236
1237
|
if @api_client.config.client_side_validation && body.nil?
|
|
1237
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1238
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_annotations"
|
|
1238
1239
|
end
|
|
1239
1240
|
# resource path
|
|
1240
1241
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotations/delete'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -1274,7 +1275,7 @@ module DatadogAPIClient::V2
|
|
|
1274
1275
|
|
|
1275
1276
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1276
1277
|
if @api_client.config.debugging
|
|
1277
|
-
@api_client.config.logger.debug "API called:
|
|
1278
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1278
1279
|
end
|
|
1279
1280
|
return data, status_code, headers
|
|
1280
1281
|
end
|
|
@@ -1289,9 +1290,9 @@ module DatadogAPIClient::V2
|
|
|
1289
1290
|
|
|
1290
1291
|
# Delete a custom evaluator configuration.
|
|
1291
1292
|
#
|
|
1292
|
-
# Delete a custom
|
|
1293
|
+
# Delete a custom Agent Observability evaluator configuration by its name.
|
|
1293
1294
|
#
|
|
1294
|
-
# @param eval_name [String] The name of the custom
|
|
1295
|
+
# @param eval_name [String] The name of the custom Agent Observability evaluator configuration.
|
|
1295
1296
|
# @param opts [Hash] the optional parameters
|
|
1296
1297
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1297
1298
|
def delete_llm_obs_custom_eval_config_with_http_info(eval_name, opts = {})
|
|
@@ -1303,11 +1304,11 @@ module DatadogAPIClient::V2
|
|
|
1303
1304
|
end
|
|
1304
1305
|
|
|
1305
1306
|
if @api_client.config.debugging
|
|
1306
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1307
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_custom_eval_config ...'
|
|
1307
1308
|
end
|
|
1308
1309
|
# verify the required parameter 'eval_name' is set
|
|
1309
1310
|
if @api_client.config.client_side_validation && eval_name.nil?
|
|
1310
|
-
fail ArgumentError, "Missing the required parameter 'eval_name' when calling
|
|
1311
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling AgentObservabilityAPI.delete_llm_obs_custom_eval_config"
|
|
1311
1312
|
end
|
|
1312
1313
|
# resource path
|
|
1313
1314
|
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
@@ -1345,85 +1346,12 @@ module DatadogAPIClient::V2
|
|
|
1345
1346
|
|
|
1346
1347
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
1347
1348
|
if @api_client.config.debugging
|
|
1348
|
-
@api_client.config.logger.debug "API called:
|
|
1349
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1349
1350
|
end
|
|
1350
1351
|
return data, status_code, headers
|
|
1351
1352
|
end
|
|
1352
1353
|
|
|
1353
|
-
# Delete
|
|
1354
|
-
#
|
|
1355
|
-
# @see #delete_llm_obs_data_with_http_info
|
|
1356
|
-
def delete_llm_obs_data(body, opts = {})
|
|
1357
|
-
data, _status_code, _headers = delete_llm_obs_data_with_http_info(body, opts)
|
|
1358
|
-
data
|
|
1359
|
-
end
|
|
1360
|
-
|
|
1361
|
-
# Delete LLM Observability data.
|
|
1362
|
-
#
|
|
1363
|
-
# Submit a request to delete LLM Observability span data matching a trace ID filter within a specified time range.
|
|
1364
|
-
#
|
|
1365
|
-
# @param body [LLMObsDataDeletionRequest] Data deletion request payload.
|
|
1366
|
-
# @param opts [Hash] the optional parameters
|
|
1367
|
-
# @return [Array<(LLMObsDataDeletionResponse, Integer, Hash)>] LLMObsDataDeletionResponse data, response status code and response headers
|
|
1368
|
-
def delete_llm_obs_data_with_http_info(body, opts = {})
|
|
1369
|
-
unstable_enabled = @api_client.config.unstable_operations["v2.delete_llm_obs_data".to_sym]
|
|
1370
|
-
if unstable_enabled
|
|
1371
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_llm_obs_data")
|
|
1372
|
-
else
|
|
1373
|
-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_llm_obs_data"))
|
|
1374
|
-
end
|
|
1375
|
-
|
|
1376
|
-
if @api_client.config.debugging
|
|
1377
|
-
@api_client.config.logger.debug 'Calling API: LLMObservabilityAPI.delete_llm_obs_data ...'
|
|
1378
|
-
end
|
|
1379
|
-
# verify the required parameter 'body' is set
|
|
1380
|
-
if @api_client.config.client_side_validation && body.nil?
|
|
1381
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling LLMObservabilityAPI.delete_llm_obs_data"
|
|
1382
|
-
end
|
|
1383
|
-
# resource path
|
|
1384
|
-
local_var_path = '/api/v2/llm-obs/deletion/data/llmobs'
|
|
1385
|
-
|
|
1386
|
-
# query parameters
|
|
1387
|
-
query_params = opts[:query_params] || {}
|
|
1388
|
-
|
|
1389
|
-
# header parameters
|
|
1390
|
-
header_params = opts[:header_params] || {}
|
|
1391
|
-
# HTTP header 'Accept' (if needed)
|
|
1392
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1393
|
-
# HTTP header 'Content-Type'
|
|
1394
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1395
|
-
|
|
1396
|
-
# form parameters
|
|
1397
|
-
form_params = opts[:form_params] || {}
|
|
1398
|
-
|
|
1399
|
-
# http body (model)
|
|
1400
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1401
|
-
|
|
1402
|
-
# return_type
|
|
1403
|
-
return_type = opts[:debug_return_type] || 'LLMObsDataDeletionResponse'
|
|
1404
|
-
|
|
1405
|
-
# auth_names
|
|
1406
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
|
1407
|
-
|
|
1408
|
-
new_options = opts.merge(
|
|
1409
|
-
:operation => :delete_llm_obs_data,
|
|
1410
|
-
:header_params => header_params,
|
|
1411
|
-
:query_params => query_params,
|
|
1412
|
-
:form_params => form_params,
|
|
1413
|
-
:body => post_body,
|
|
1414
|
-
:auth_names => auth_names,
|
|
1415
|
-
:return_type => return_type,
|
|
1416
|
-
:api_version => "V2"
|
|
1417
|
-
)
|
|
1418
|
-
|
|
1419
|
-
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1420
|
-
if @api_client.config.debugging
|
|
1421
|
-
@api_client.config.logger.debug "API called: LLMObservabilityAPI#delete_llm_obs_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1422
|
-
end
|
|
1423
|
-
return data, status_code, headers
|
|
1424
|
-
end
|
|
1425
|
-
|
|
1426
|
-
# Delete LLM Observability dataset records.
|
|
1354
|
+
# Delete Agent Observability dataset records.
|
|
1427
1355
|
#
|
|
1428
1356
|
# @see #delete_llm_obs_dataset_records_with_http_info
|
|
1429
1357
|
def delete_llm_obs_dataset_records(project_id, dataset_id, body, opts = {})
|
|
@@ -1431,12 +1359,12 @@ module DatadogAPIClient::V2
|
|
|
1431
1359
|
nil
|
|
1432
1360
|
end
|
|
1433
1361
|
|
|
1434
|
-
# Delete
|
|
1362
|
+
# Delete Agent Observability dataset records.
|
|
1435
1363
|
#
|
|
1436
|
-
# Delete one or more records from an
|
|
1364
|
+
# Delete one or more records from an Agent Observability dataset.
|
|
1437
1365
|
#
|
|
1438
|
-
# @param project_id [String] The ID of the
|
|
1439
|
-
# @param dataset_id [String] The ID of the
|
|
1366
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
1367
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
1440
1368
|
# @param body [LLMObsDeleteDatasetRecordsRequest] Delete records payload.
|
|
1441
1369
|
# @param opts [Hash] the optional parameters
|
|
1442
1370
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1449,19 +1377,19 @@ module DatadogAPIClient::V2
|
|
|
1449
1377
|
end
|
|
1450
1378
|
|
|
1451
1379
|
if @api_client.config.debugging
|
|
1452
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1380
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_dataset_records ...'
|
|
1453
1381
|
end
|
|
1454
1382
|
# verify the required parameter 'project_id' is set
|
|
1455
1383
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
1456
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
1384
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.delete_llm_obs_dataset_records"
|
|
1457
1385
|
end
|
|
1458
1386
|
# verify the required parameter 'dataset_id' is set
|
|
1459
1387
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
1460
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
1388
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.delete_llm_obs_dataset_records"
|
|
1461
1389
|
end
|
|
1462
1390
|
# verify the required parameter 'body' is set
|
|
1463
1391
|
if @api_client.config.client_side_validation && body.nil?
|
|
1464
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1392
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_dataset_records"
|
|
1465
1393
|
end
|
|
1466
1394
|
# resource path
|
|
1467
1395
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -1501,12 +1429,12 @@ module DatadogAPIClient::V2
|
|
|
1501
1429
|
|
|
1502
1430
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1503
1431
|
if @api_client.config.debugging
|
|
1504
|
-
@api_client.config.logger.debug "API called:
|
|
1432
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_dataset_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1505
1433
|
end
|
|
1506
1434
|
return data, status_code, headers
|
|
1507
1435
|
end
|
|
1508
1436
|
|
|
1509
|
-
# Delete
|
|
1437
|
+
# Delete Agent Observability datasets.
|
|
1510
1438
|
#
|
|
1511
1439
|
# @see #delete_llm_obs_datasets_with_http_info
|
|
1512
1440
|
def delete_llm_obs_datasets(project_id, body, opts = {})
|
|
@@ -1514,11 +1442,11 @@ module DatadogAPIClient::V2
|
|
|
1514
1442
|
nil
|
|
1515
1443
|
end
|
|
1516
1444
|
|
|
1517
|
-
# Delete
|
|
1445
|
+
# Delete Agent Observability datasets.
|
|
1518
1446
|
#
|
|
1519
|
-
# Delete one or more
|
|
1447
|
+
# Delete one or more Agent Observability datasets within the specified project.
|
|
1520
1448
|
#
|
|
1521
|
-
# @param project_id [String] The ID of the
|
|
1449
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
1522
1450
|
# @param body [LLMObsDeleteDatasetsRequest] Delete datasets payload.
|
|
1523
1451
|
# @param opts [Hash] the optional parameters
|
|
1524
1452
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1531,15 +1459,15 @@ module DatadogAPIClient::V2
|
|
|
1531
1459
|
end
|
|
1532
1460
|
|
|
1533
1461
|
if @api_client.config.debugging
|
|
1534
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1462
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_datasets ...'
|
|
1535
1463
|
end
|
|
1536
1464
|
# verify the required parameter 'project_id' is set
|
|
1537
1465
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
1538
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
1466
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.delete_llm_obs_datasets"
|
|
1539
1467
|
end
|
|
1540
1468
|
# verify the required parameter 'body' is set
|
|
1541
1469
|
if @api_client.config.client_side_validation && body.nil?
|
|
1542
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1470
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_datasets"
|
|
1543
1471
|
end
|
|
1544
1472
|
# resource path
|
|
1545
1473
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/delete'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/'))
|
|
@@ -1579,12 +1507,12 @@ module DatadogAPIClient::V2
|
|
|
1579
1507
|
|
|
1580
1508
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1581
1509
|
if @api_client.config.debugging
|
|
1582
|
-
@api_client.config.logger.debug "API called:
|
|
1510
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_datasets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1583
1511
|
end
|
|
1584
1512
|
return data, status_code, headers
|
|
1585
1513
|
end
|
|
1586
1514
|
|
|
1587
|
-
# Delete
|
|
1515
|
+
# Delete Agent Observability experiments.
|
|
1588
1516
|
#
|
|
1589
1517
|
# @see #delete_llm_obs_experiments_with_http_info
|
|
1590
1518
|
def delete_llm_obs_experiments(body, opts = {})
|
|
@@ -1592,9 +1520,9 @@ module DatadogAPIClient::V2
|
|
|
1592
1520
|
nil
|
|
1593
1521
|
end
|
|
1594
1522
|
|
|
1595
|
-
# Delete
|
|
1523
|
+
# Delete Agent Observability experiments.
|
|
1596
1524
|
#
|
|
1597
|
-
# Delete one or more
|
|
1525
|
+
# Delete one or more Agent Observability experiments.
|
|
1598
1526
|
#
|
|
1599
1527
|
# @param body [LLMObsDeleteExperimentsRequest] Delete experiments payload.
|
|
1600
1528
|
# @param opts [Hash] the optional parameters
|
|
@@ -1608,11 +1536,11 @@ module DatadogAPIClient::V2
|
|
|
1608
1536
|
end
|
|
1609
1537
|
|
|
1610
1538
|
if @api_client.config.debugging
|
|
1611
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1539
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_experiments ...'
|
|
1612
1540
|
end
|
|
1613
1541
|
# verify the required parameter 'body' is set
|
|
1614
1542
|
if @api_client.config.client_side_validation && body.nil?
|
|
1615
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1543
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_experiments"
|
|
1616
1544
|
end
|
|
1617
1545
|
# resource path
|
|
1618
1546
|
local_var_path = '/api/v2/llm-obs/v1/experiments/delete'
|
|
@@ -1652,7 +1580,7 @@ module DatadogAPIClient::V2
|
|
|
1652
1580
|
|
|
1653
1581
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1654
1582
|
if @api_client.config.debugging
|
|
1655
|
-
@api_client.config.logger.debug "API called:
|
|
1583
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_experiments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1656
1584
|
end
|
|
1657
1585
|
return data, status_code, headers
|
|
1658
1586
|
end
|
|
@@ -1681,11 +1609,11 @@ module DatadogAPIClient::V2
|
|
|
1681
1609
|
end
|
|
1682
1610
|
|
|
1683
1611
|
if @api_client.config.debugging
|
|
1684
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1612
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_patterns_config ...'
|
|
1685
1613
|
end
|
|
1686
1614
|
# verify the required parameter 'config_id' is set
|
|
1687
1615
|
if @api_client.config.client_side_validation && config_id.nil?
|
|
1688
|
-
fail ArgumentError, "Missing the required parameter 'config_id' when calling
|
|
1616
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling AgentObservabilityAPI.delete_llm_obs_patterns_config"
|
|
1689
1617
|
end
|
|
1690
1618
|
# resource path
|
|
1691
1619
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-configs/{config_id}'.sub('{config_id}', CGI.escape(config_id.to_s).gsub('%2F', '/'))
|
|
@@ -1723,12 +1651,12 @@ module DatadogAPIClient::V2
|
|
|
1723
1651
|
|
|
1724
1652
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
1725
1653
|
if @api_client.config.debugging
|
|
1726
|
-
@api_client.config.logger.debug "API called:
|
|
1654
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_patterns_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1727
1655
|
end
|
|
1728
1656
|
return data, status_code, headers
|
|
1729
1657
|
end
|
|
1730
1658
|
|
|
1731
|
-
# Delete
|
|
1659
|
+
# Delete Agent Observability projects.
|
|
1732
1660
|
#
|
|
1733
1661
|
# @see #delete_llm_obs_projects_with_http_info
|
|
1734
1662
|
def delete_llm_obs_projects(body, opts = {})
|
|
@@ -1736,9 +1664,9 @@ module DatadogAPIClient::V2
|
|
|
1736
1664
|
nil
|
|
1737
1665
|
end
|
|
1738
1666
|
|
|
1739
|
-
# Delete
|
|
1667
|
+
# Delete Agent Observability projects.
|
|
1740
1668
|
#
|
|
1741
|
-
# Delete one or more
|
|
1669
|
+
# Delete one or more Agent Observability projects.
|
|
1742
1670
|
#
|
|
1743
1671
|
# @param body [LLMObsDeleteProjectsRequest] Delete projects payload.
|
|
1744
1672
|
# @param opts [Hash] the optional parameters
|
|
@@ -1752,11 +1680,11 @@ module DatadogAPIClient::V2
|
|
|
1752
1680
|
end
|
|
1753
1681
|
|
|
1754
1682
|
if @api_client.config.debugging
|
|
1755
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1683
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_projects ...'
|
|
1756
1684
|
end
|
|
1757
1685
|
# verify the required parameter 'body' is set
|
|
1758
1686
|
if @api_client.config.client_side_validation && body.nil?
|
|
1759
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
1687
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.delete_llm_obs_projects"
|
|
1760
1688
|
end
|
|
1761
1689
|
# resource path
|
|
1762
1690
|
local_var_path = '/api/v2/llm-obs/v1/projects/delete'
|
|
@@ -1796,12 +1724,12 @@ module DatadogAPIClient::V2
|
|
|
1796
1724
|
|
|
1797
1725
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
1798
1726
|
if @api_client.config.debugging
|
|
1799
|
-
@api_client.config.logger.debug "API called:
|
|
1727
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1800
1728
|
end
|
|
1801
1729
|
return data, status_code, headers
|
|
1802
1730
|
end
|
|
1803
1731
|
|
|
1804
|
-
# Delete an
|
|
1732
|
+
# Delete an Agent Observability prompt.
|
|
1805
1733
|
#
|
|
1806
1734
|
# @see #delete_llm_obs_prompt_with_http_info
|
|
1807
1735
|
def delete_llm_obs_prompt(prompt_id, opts = {})
|
|
@@ -1809,11 +1737,11 @@ module DatadogAPIClient::V2
|
|
|
1809
1737
|
data
|
|
1810
1738
|
end
|
|
1811
1739
|
|
|
1812
|
-
# Delete an
|
|
1740
|
+
# Delete an Agent Observability prompt.
|
|
1813
1741
|
#
|
|
1814
|
-
# Soft-delete an
|
|
1742
|
+
# Soft-delete an Agent Observability prompt. The prompt's version rows are retained, but they are no longer accessible through the public prompt registry endpoints.
|
|
1815
1743
|
#
|
|
1816
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
1744
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
1817
1745
|
# @param opts [Hash] the optional parameters
|
|
1818
1746
|
# @return [Array<(LLMObsDeletedPromptResponse, Integer, Hash)>] LLMObsDeletedPromptResponse data, response status code and response headers
|
|
1819
1747
|
def delete_llm_obs_prompt_with_http_info(prompt_id, opts = {})
|
|
@@ -1825,11 +1753,11 @@ module DatadogAPIClient::V2
|
|
|
1825
1753
|
end
|
|
1826
1754
|
|
|
1827
1755
|
if @api_client.config.debugging
|
|
1828
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1756
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.delete_llm_obs_prompt ...'
|
|
1829
1757
|
end
|
|
1830
1758
|
# verify the required parameter 'prompt_id' is set
|
|
1831
1759
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
1832
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
1760
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.delete_llm_obs_prompt"
|
|
1833
1761
|
end
|
|
1834
1762
|
# resource path
|
|
1835
1763
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/'))
|
|
@@ -1867,12 +1795,12 @@ module DatadogAPIClient::V2
|
|
|
1867
1795
|
|
|
1868
1796
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
|
1869
1797
|
if @api_client.config.debugging
|
|
1870
|
-
@api_client.config.logger.debug "API called:
|
|
1798
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#delete_llm_obs_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1871
1799
|
end
|
|
1872
1800
|
return data, status_code, headers
|
|
1873
1801
|
end
|
|
1874
1802
|
|
|
1875
|
-
# Export an
|
|
1803
|
+
# Export an Agent Observability dataset.
|
|
1876
1804
|
#
|
|
1877
1805
|
# @see #export_llm_obs_dataset_with_http_info
|
|
1878
1806
|
def export_llm_obs_dataset(project_id, dataset_id, opts = {})
|
|
@@ -1880,12 +1808,12 @@ module DatadogAPIClient::V2
|
|
|
1880
1808
|
data
|
|
1881
1809
|
end
|
|
1882
1810
|
|
|
1883
|
-
# Export an
|
|
1811
|
+
# Export an Agent Observability dataset.
|
|
1884
1812
|
#
|
|
1885
1813
|
# Download the contents of a dataset as a CSV file. The download is streamed and includes one row per dataset record.
|
|
1886
1814
|
#
|
|
1887
|
-
# @param project_id [String] The ID of the
|
|
1888
|
-
# @param dataset_id [String] The ID of the
|
|
1815
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
1816
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
1889
1817
|
# @param opts [Hash] the optional parameters
|
|
1890
1818
|
# @option opts [LLMObsDatasetExportFormat] :format Export format for the dataset contents. Only `csv` is currently supported.
|
|
1891
1819
|
# @option opts [Integer] :version Version of the dataset to export. If omitted, the current version is used. Must be between 0 and the current version of the dataset, inclusive.
|
|
@@ -1899,22 +1827,22 @@ module DatadogAPIClient::V2
|
|
|
1899
1827
|
end
|
|
1900
1828
|
|
|
1901
1829
|
if @api_client.config.debugging
|
|
1902
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1830
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.export_llm_obs_dataset ...'
|
|
1903
1831
|
end
|
|
1904
1832
|
# verify the required parameter 'project_id' is set
|
|
1905
1833
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
1906
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
1834
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.export_llm_obs_dataset"
|
|
1907
1835
|
end
|
|
1908
1836
|
# verify the required parameter 'dataset_id' is set
|
|
1909
1837
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
1910
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
1838
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.export_llm_obs_dataset"
|
|
1911
1839
|
end
|
|
1912
1840
|
allowable_values = ['csv']
|
|
1913
1841
|
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
1914
1842
|
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
1915
1843
|
end
|
|
1916
1844
|
if @api_client.config.client_side_validation && !opts[:'version'].nil? && opts[:'version'] > 2147483647
|
|
1917
|
-
fail ArgumentError, 'invalid value for "opts[:"version"]" when calling
|
|
1845
|
+
fail ArgumentError, 'invalid value for "opts[:"version"]" when calling AgentObservabilityAPI.export_llm_obs_dataset, must be smaller than or equal to 2147483647.'
|
|
1918
1846
|
end
|
|
1919
1847
|
# resource path
|
|
1920
1848
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/export'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -1954,7 +1882,7 @@ module DatadogAPIClient::V2
|
|
|
1954
1882
|
|
|
1955
1883
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
1956
1884
|
if @api_client.config.debugging
|
|
1957
|
-
@api_client.config.logger.debug "API called:
|
|
1885
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#export_llm_obs_dataset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1958
1886
|
end
|
|
1959
1887
|
return data, status_code, headers
|
|
1960
1888
|
end
|
|
@@ -1971,7 +1899,7 @@ module DatadogAPIClient::V2
|
|
|
1971
1899
|
#
|
|
1972
1900
|
# Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue.
|
|
1973
1901
|
#
|
|
1974
|
-
# @param queue_id [String] The ID of the
|
|
1902
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
1975
1903
|
# @param opts [Hash] the optional parameters
|
|
1976
1904
|
# @return [Array<(LLMObsAnnotatedInteractionsResponse, Integer, Hash)>] LLMObsAnnotatedInteractionsResponse data, response status code and response headers
|
|
1977
1905
|
def get_llm_obs_annotated_interactions_with_http_info(queue_id, opts = {})
|
|
@@ -1983,11 +1911,11 @@ module DatadogAPIClient::V2
|
|
|
1983
1911
|
end
|
|
1984
1912
|
|
|
1985
1913
|
if @api_client.config.debugging
|
|
1986
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1914
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_annotated_interactions ...'
|
|
1987
1915
|
end
|
|
1988
1916
|
# verify the required parameter 'queue_id' is set
|
|
1989
1917
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
1990
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
1918
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions"
|
|
1991
1919
|
end
|
|
1992
1920
|
# resource path
|
|
1993
1921
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -2025,7 +1953,7 @@ module DatadogAPIClient::V2
|
|
|
2025
1953
|
|
|
2026
1954
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2027
1955
|
if @api_client.config.debugging
|
|
2028
|
-
@api_client.config.logger.debug "API called:
|
|
1956
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_annotated_interactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2029
1957
|
end
|
|
2030
1958
|
return data, status_code, headers
|
|
2031
1959
|
end
|
|
@@ -2057,23 +1985,23 @@ module DatadogAPIClient::V2
|
|
|
2057
1985
|
end
|
|
2058
1986
|
|
|
2059
1987
|
if @api_client.config.debugging
|
|
2060
|
-
@api_client.config.logger.debug 'Calling API:
|
|
1988
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds ...'
|
|
2061
1989
|
end
|
|
2062
1990
|
# verify the required parameter 'content_ids' is set
|
|
2063
1991
|
if @api_client.config.client_side_validation && content_ids.nil?
|
|
2064
|
-
fail ArgumentError, "Missing the required parameter 'content_ids' when calling
|
|
1992
|
+
fail ArgumentError, "Missing the required parameter 'content_ids' when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds"
|
|
2065
1993
|
end
|
|
2066
1994
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] > 2147483647
|
|
2067
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
|
1995
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds, must be smaller than or equal to 2147483647.'
|
|
2068
1996
|
end
|
|
2069
1997
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
|
2070
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
|
1998
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds, must be greater than or equal to 0.'
|
|
2071
1999
|
end
|
|
2072
2000
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 2147483647
|
|
2073
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
|
2001
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds, must be smaller than or equal to 2147483647.'
|
|
2074
2002
|
end
|
|
2075
2003
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
2076
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
|
2004
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling AgentObservabilityAPI.get_llm_obs_annotated_interactions_by_trace_i_ds, must be greater than or equal to 1.'
|
|
2077
2005
|
end
|
|
2078
2006
|
# resource path
|
|
2079
2007
|
local_var_path = '/api/v2/llm-obs/v1/annotated-interactions'
|
|
@@ -2115,7 +2043,7 @@ module DatadogAPIClient::V2
|
|
|
2115
2043
|
|
|
2116
2044
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2117
2045
|
if @api_client.config.debugging
|
|
2118
|
-
@api_client.config.logger.debug "API called:
|
|
2046
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_annotated_interactions_by_trace_i_ds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2119
2047
|
end
|
|
2120
2048
|
return data, status_code, headers
|
|
2121
2049
|
end
|
|
@@ -2132,7 +2060,7 @@ module DatadogAPIClient::V2
|
|
|
2132
2060
|
#
|
|
2133
2061
|
# Retrieve the label schema for a given annotation queue.
|
|
2134
2062
|
#
|
|
2135
|
-
# @param queue_id [String] The ID of the
|
|
2063
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
2136
2064
|
# @param opts [Hash] the optional parameters
|
|
2137
2065
|
# @return [Array<(LLMObsAnnotationQueueLabelSchemaResponse, Integer, Hash)>] LLMObsAnnotationQueueLabelSchemaResponse data, response status code and response headers
|
|
2138
2066
|
def get_llm_obs_annotation_queue_label_schema_with_http_info(queue_id, opts = {})
|
|
@@ -2144,11 +2072,11 @@ module DatadogAPIClient::V2
|
|
|
2144
2072
|
end
|
|
2145
2073
|
|
|
2146
2074
|
if @api_client.config.debugging
|
|
2147
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2075
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_annotation_queue_label_schema ...'
|
|
2148
2076
|
end
|
|
2149
2077
|
# verify the required parameter 'queue_id' is set
|
|
2150
2078
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
2151
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
2079
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.get_llm_obs_annotation_queue_label_schema"
|
|
2152
2080
|
end
|
|
2153
2081
|
# resource path
|
|
2154
2082
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/label-schema'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -2186,7 +2114,7 @@ module DatadogAPIClient::V2
|
|
|
2186
2114
|
|
|
2187
2115
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2188
2116
|
if @api_client.config.debugging
|
|
2189
|
-
@api_client.config.logger.debug "API called:
|
|
2117
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_annotation_queue_label_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2190
2118
|
end
|
|
2191
2119
|
return data, status_code, headers
|
|
2192
2120
|
end
|
|
@@ -2201,9 +2129,9 @@ module DatadogAPIClient::V2
|
|
|
2201
2129
|
|
|
2202
2130
|
# Get a custom evaluator configuration.
|
|
2203
2131
|
#
|
|
2204
|
-
# Retrieve a custom
|
|
2132
|
+
# Retrieve a custom Agent Observability evaluator configuration by its name.
|
|
2205
2133
|
#
|
|
2206
|
-
# @param eval_name [String] The name of the custom
|
|
2134
|
+
# @param eval_name [String] The name of the custom Agent Observability evaluator configuration.
|
|
2207
2135
|
# @param opts [Hash] the optional parameters
|
|
2208
2136
|
# @return [Array<(LLMObsCustomEvalConfigResponse, Integer, Hash)>] LLMObsCustomEvalConfigResponse data, response status code and response headers
|
|
2209
2137
|
def get_llm_obs_custom_eval_config_with_http_info(eval_name, opts = {})
|
|
@@ -2215,11 +2143,11 @@ module DatadogAPIClient::V2
|
|
|
2215
2143
|
end
|
|
2216
2144
|
|
|
2217
2145
|
if @api_client.config.debugging
|
|
2218
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2146
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_custom_eval_config ...'
|
|
2219
2147
|
end
|
|
2220
2148
|
# verify the required parameter 'eval_name' is set
|
|
2221
2149
|
if @api_client.config.client_side_validation && eval_name.nil?
|
|
2222
|
-
fail ArgumentError, "Missing the required parameter 'eval_name' when calling
|
|
2150
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling AgentObservabilityAPI.get_llm_obs_custom_eval_config"
|
|
2223
2151
|
end
|
|
2224
2152
|
# resource path
|
|
2225
2153
|
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
@@ -2257,12 +2185,12 @@ module DatadogAPIClient::V2
|
|
|
2257
2185
|
|
|
2258
2186
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2259
2187
|
if @api_client.config.debugging
|
|
2260
|
-
@api_client.config.logger.debug "API called:
|
|
2188
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2261
2189
|
end
|
|
2262
2190
|
return data, status_code, headers
|
|
2263
2191
|
end
|
|
2264
2192
|
|
|
2265
|
-
# Get
|
|
2193
|
+
# Get Agent Observability dataset draft state.
|
|
2266
2194
|
#
|
|
2267
2195
|
# @see #get_llm_obs_dataset_draft_state_with_http_info
|
|
2268
2196
|
def get_llm_obs_dataset_draft_state(project_id, dataset_id, opts = {})
|
|
@@ -2270,12 +2198,12 @@ module DatadogAPIClient::V2
|
|
|
2270
2198
|
data
|
|
2271
2199
|
end
|
|
2272
2200
|
|
|
2273
|
-
# Get
|
|
2201
|
+
# Get Agent Observability dataset draft state.
|
|
2274
2202
|
#
|
|
2275
2203
|
# Retrieve the draft state of a dataset, including whether it is currently locked for editing and which user holds the lock.
|
|
2276
2204
|
#
|
|
2277
|
-
# @param project_id [String] The ID of the
|
|
2278
|
-
# @param dataset_id [String] The ID of the
|
|
2205
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
2206
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
2279
2207
|
# @param opts [Hash] the optional parameters
|
|
2280
2208
|
# @return [Array<(LLMObsDatasetDraftStateResponse, Integer, Hash)>] LLMObsDatasetDraftStateResponse data, response status code and response headers
|
|
2281
2209
|
def get_llm_obs_dataset_draft_state_with_http_info(project_id, dataset_id, opts = {})
|
|
@@ -2287,15 +2215,15 @@ module DatadogAPIClient::V2
|
|
|
2287
2215
|
end
|
|
2288
2216
|
|
|
2289
2217
|
if @api_client.config.debugging
|
|
2290
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2218
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_dataset_draft_state ...'
|
|
2291
2219
|
end
|
|
2292
2220
|
# verify the required parameter 'project_id' is set
|
|
2293
2221
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
2294
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
2222
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.get_llm_obs_dataset_draft_state"
|
|
2295
2223
|
end
|
|
2296
2224
|
# verify the required parameter 'dataset_id' is set
|
|
2297
2225
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
2298
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
2226
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.get_llm_obs_dataset_draft_state"
|
|
2299
2227
|
end
|
|
2300
2228
|
# resource path
|
|
2301
2229
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/draft_state'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -2333,7 +2261,7 @@ module DatadogAPIClient::V2
|
|
|
2333
2261
|
|
|
2334
2262
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2335
2263
|
if @api_client.config.debugging
|
|
2336
|
-
@api_client.config.logger.debug "API called:
|
|
2264
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_dataset_draft_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2337
2265
|
end
|
|
2338
2266
|
return data, status_code, headers
|
|
2339
2267
|
end
|
|
@@ -2361,7 +2289,7 @@ module DatadogAPIClient::V2
|
|
|
2361
2289
|
end
|
|
2362
2290
|
|
|
2363
2291
|
if @api_client.config.debugging
|
|
2364
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2292
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_patterns_config ...'
|
|
2365
2293
|
end
|
|
2366
2294
|
# resource path
|
|
2367
2295
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-configs/latest'
|
|
@@ -2399,7 +2327,7 @@ module DatadogAPIClient::V2
|
|
|
2399
2327
|
|
|
2400
2328
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2401
2329
|
if @api_client.config.debugging
|
|
2402
|
-
@api_client.config.logger.debug "API called:
|
|
2330
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_patterns_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2403
2331
|
end
|
|
2404
2332
|
return data, status_code, headers
|
|
2405
2333
|
end
|
|
@@ -2429,11 +2357,11 @@ module DatadogAPIClient::V2
|
|
|
2429
2357
|
end
|
|
2430
2358
|
|
|
2431
2359
|
if @api_client.config.debugging
|
|
2432
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2360
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_patterns_run_status ...'
|
|
2433
2361
|
end
|
|
2434
2362
|
# verify the required parameter 'config_id' is set
|
|
2435
2363
|
if @api_client.config.client_side_validation && config_id.nil?
|
|
2436
|
-
fail ArgumentError, "Missing the required parameter 'config_id' when calling
|
|
2364
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling AgentObservabilityAPI.get_llm_obs_patterns_run_status"
|
|
2437
2365
|
end
|
|
2438
2366
|
# resource path
|
|
2439
2367
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-runs/status'
|
|
@@ -2472,12 +2400,12 @@ module DatadogAPIClient::V2
|
|
|
2472
2400
|
|
|
2473
2401
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2474
2402
|
if @api_client.config.debugging
|
|
2475
|
-
@api_client.config.logger.debug "API called:
|
|
2403
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_patterns_run_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2476
2404
|
end
|
|
2477
2405
|
return data, status_code, headers
|
|
2478
2406
|
end
|
|
2479
2407
|
|
|
2480
|
-
# Get an
|
|
2408
|
+
# Get an Agent Observability prompt.
|
|
2481
2409
|
#
|
|
2482
2410
|
# @see #get_llm_obs_prompt_with_http_info
|
|
2483
2411
|
def get_llm_obs_prompt(prompt_id, opts = {})
|
|
@@ -2485,11 +2413,11 @@ module DatadogAPIClient::V2
|
|
|
2485
2413
|
data
|
|
2486
2414
|
end
|
|
2487
2415
|
|
|
2488
|
-
# Get an
|
|
2416
|
+
# Get an Agent Observability prompt.
|
|
2489
2417
|
#
|
|
2490
|
-
# Get the latest version of an
|
|
2418
|
+
# Get the latest version of an Agent Observability prompt by prompt ID.
|
|
2491
2419
|
#
|
|
2492
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
2420
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
2493
2421
|
# @param opts [Hash] the optional parameters
|
|
2494
2422
|
# @option opts [String] :label **Deprecated.** Optional label of the prompt version to return. Do not use this parameter for new integrations. If omitted, the latest version is returned. If the prompt has no labels, the latest version is returned even when a label is requested. If the prompt has labels but none match the requested label, a 404 response is returned.
|
|
2495
2423
|
# @return [Array<(LLMObsPromptSDKResponse, Integer, Hash)>] LLMObsPromptSDKResponse data, response status code and response headers
|
|
@@ -2502,11 +2430,11 @@ module DatadogAPIClient::V2
|
|
|
2502
2430
|
end
|
|
2503
2431
|
|
|
2504
2432
|
if @api_client.config.debugging
|
|
2505
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2433
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_prompt ...'
|
|
2506
2434
|
end
|
|
2507
2435
|
# verify the required parameter 'prompt_id' is set
|
|
2508
2436
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
2509
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
2437
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.get_llm_obs_prompt"
|
|
2510
2438
|
end
|
|
2511
2439
|
# resource path
|
|
2512
2440
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/'))
|
|
@@ -2545,12 +2473,12 @@ module DatadogAPIClient::V2
|
|
|
2545
2473
|
|
|
2546
2474
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2547
2475
|
if @api_client.config.debugging
|
|
2548
|
-
@api_client.config.logger.debug "API called:
|
|
2476
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2549
2477
|
end
|
|
2550
2478
|
return data, status_code, headers
|
|
2551
2479
|
end
|
|
2552
2480
|
|
|
2553
|
-
# Get a specific
|
|
2481
|
+
# Get a specific Agent Observability prompt version.
|
|
2554
2482
|
#
|
|
2555
2483
|
# @see #get_llm_obs_prompt_version_with_http_info
|
|
2556
2484
|
def get_llm_obs_prompt_version(prompt_id, version, opts = {})
|
|
@@ -2558,12 +2486,12 @@ module DatadogAPIClient::V2
|
|
|
2558
2486
|
data
|
|
2559
2487
|
end
|
|
2560
2488
|
|
|
2561
|
-
# Get a specific
|
|
2489
|
+
# Get a specific Agent Observability prompt version.
|
|
2562
2490
|
#
|
|
2563
|
-
# Get the full template of a single, specific version of an
|
|
2491
|
+
# Get the full template of a single, specific version of an Agent Observability prompt.
|
|
2564
2492
|
#
|
|
2565
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
2566
|
-
# @param version [Integer] The version number of the
|
|
2493
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
2494
|
+
# @param version [Integer] The version number of the Agent Observability prompt.
|
|
2567
2495
|
# @param opts [Hash] the optional parameters
|
|
2568
2496
|
# @return [Array<(LLMObsPromptVersionResponse, Integer, Hash)>] LLMObsPromptVersionResponse data, response status code and response headers
|
|
2569
2497
|
def get_llm_obs_prompt_version_with_http_info(prompt_id, version, opts = {})
|
|
@@ -2575,18 +2503,18 @@ module DatadogAPIClient::V2
|
|
|
2575
2503
|
end
|
|
2576
2504
|
|
|
2577
2505
|
if @api_client.config.debugging
|
|
2578
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2506
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.get_llm_obs_prompt_version ...'
|
|
2579
2507
|
end
|
|
2580
2508
|
# verify the required parameter 'prompt_id' is set
|
|
2581
2509
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
2582
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
2510
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.get_llm_obs_prompt_version"
|
|
2583
2511
|
end
|
|
2584
2512
|
# verify the required parameter 'version' is set
|
|
2585
2513
|
if @api_client.config.client_side_validation && version.nil?
|
|
2586
|
-
fail ArgumentError, "Missing the required parameter 'version' when calling
|
|
2514
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling AgentObservabilityAPI.get_llm_obs_prompt_version"
|
|
2587
2515
|
end
|
|
2588
2516
|
if @api_client.config.client_side_validation && version < 1
|
|
2589
|
-
fail ArgumentError, 'invalid value for "version" when calling
|
|
2517
|
+
fail ArgumentError, 'invalid value for "version" when calling AgentObservabilityAPI.get_llm_obs_prompt_version, must be greater than or equal to 1.'
|
|
2590
2518
|
end
|
|
2591
2519
|
# resource path
|
|
2592
2520
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}/versions/{version}'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/')).sub('{version}', CGI.escape(version.to_s).gsub('%2F', '/'))
|
|
@@ -2624,12 +2552,12 @@ module DatadogAPIClient::V2
|
|
|
2624
2552
|
|
|
2625
2553
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2626
2554
|
if @api_client.config.debugging
|
|
2627
|
-
@api_client.config.logger.debug "API called:
|
|
2555
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#get_llm_obs_prompt_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2628
2556
|
end
|
|
2629
2557
|
return data, status_code, headers
|
|
2630
2558
|
end
|
|
2631
2559
|
|
|
2632
|
-
# List
|
|
2560
|
+
# List Agent Observability annotation queues.
|
|
2633
2561
|
#
|
|
2634
2562
|
# @see #list_llm_obs_annotation_queues_with_http_info
|
|
2635
2563
|
def list_llm_obs_annotation_queues(opts = {})
|
|
@@ -2637,7 +2565,7 @@ module DatadogAPIClient::V2
|
|
|
2637
2565
|
data
|
|
2638
2566
|
end
|
|
2639
2567
|
|
|
2640
|
-
# List
|
|
2568
|
+
# List Agent Observability annotation queues.
|
|
2641
2569
|
#
|
|
2642
2570
|
# List annotation queues. Optionally filter by project ID or queue IDs. These parameters are mutually exclusive.
|
|
2643
2571
|
# If neither is provided, all queues in the organization are returned.
|
|
@@ -2655,7 +2583,7 @@ module DatadogAPIClient::V2
|
|
|
2655
2583
|
end
|
|
2656
2584
|
|
|
2657
2585
|
if @api_client.config.debugging
|
|
2658
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2586
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_annotation_queues ...'
|
|
2659
2587
|
end
|
|
2660
2588
|
# resource path
|
|
2661
2589
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues'
|
|
@@ -2696,7 +2624,7 @@ module DatadogAPIClient::V2
|
|
|
2696
2624
|
|
|
2697
2625
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2698
2626
|
if @api_client.config.debugging
|
|
2699
|
-
@api_client.config.logger.debug "API called:
|
|
2627
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_annotation_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2700
2628
|
end
|
|
2701
2629
|
return data, status_code, headers
|
|
2702
2630
|
end
|
|
@@ -2711,7 +2639,7 @@ module DatadogAPIClient::V2
|
|
|
2711
2639
|
|
|
2712
2640
|
# List custom evaluator configurations.
|
|
2713
2641
|
#
|
|
2714
|
-
# List all custom
|
|
2642
|
+
# List all custom Agent Observability evaluator configurations for the organization.
|
|
2715
2643
|
#
|
|
2716
2644
|
# @param opts [Hash] the optional parameters
|
|
2717
2645
|
# @return [Array<(LLMObsCustomEvalConfigListResponse, Integer, Hash)>] LLMObsCustomEvalConfigListResponse data, response status code and response headers
|
|
@@ -2724,7 +2652,7 @@ module DatadogAPIClient::V2
|
|
|
2724
2652
|
end
|
|
2725
2653
|
|
|
2726
2654
|
if @api_client.config.debugging
|
|
2727
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2655
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_custom_eval_configs ...'
|
|
2728
2656
|
end
|
|
2729
2657
|
# resource path
|
|
2730
2658
|
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom'
|
|
@@ -2762,12 +2690,12 @@ module DatadogAPIClient::V2
|
|
|
2762
2690
|
|
|
2763
2691
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2764
2692
|
if @api_client.config.debugging
|
|
2765
|
-
@api_client.config.logger.debug "API called:
|
|
2693
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_custom_eval_configs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2766
2694
|
end
|
|
2767
2695
|
return data, status_code, headers
|
|
2768
2696
|
end
|
|
2769
2697
|
|
|
2770
|
-
# List
|
|
2698
|
+
# List Agent Observability dataset records.
|
|
2771
2699
|
#
|
|
2772
2700
|
# @see #list_llm_obs_dataset_records_with_http_info
|
|
2773
2701
|
def list_llm_obs_dataset_records(project_id, dataset_id, opts = {})
|
|
@@ -2775,12 +2703,12 @@ module DatadogAPIClient::V2
|
|
|
2775
2703
|
data
|
|
2776
2704
|
end
|
|
2777
2705
|
|
|
2778
|
-
# List
|
|
2706
|
+
# List Agent Observability dataset records.
|
|
2779
2707
|
#
|
|
2780
|
-
# List all records in an
|
|
2708
|
+
# List all records in an Agent Observability dataset, sorted by creation date, newest first.
|
|
2781
2709
|
#
|
|
2782
|
-
# @param project_id [String] The ID of the
|
|
2783
|
-
# @param dataset_id [String] The ID of the
|
|
2710
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
2711
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
2784
2712
|
# @param opts [Hash] the optional parameters
|
|
2785
2713
|
# @option opts [Integer] :filter_version Retrieve records from a specific dataset version. Defaults to the current version.
|
|
2786
2714
|
# @option opts [String] :page_cursor Use the Pagination cursor to retrieve the next page of results.
|
|
@@ -2795,15 +2723,15 @@ module DatadogAPIClient::V2
|
|
|
2795
2723
|
end
|
|
2796
2724
|
|
|
2797
2725
|
if @api_client.config.debugging
|
|
2798
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2726
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_dataset_records ...'
|
|
2799
2727
|
end
|
|
2800
2728
|
# verify the required parameter 'project_id' is set
|
|
2801
2729
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
2802
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
2730
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.list_llm_obs_dataset_records"
|
|
2803
2731
|
end
|
|
2804
2732
|
# verify the required parameter 'dataset_id' is set
|
|
2805
2733
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
2806
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
2734
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.list_llm_obs_dataset_records"
|
|
2807
2735
|
end
|
|
2808
2736
|
# resource path
|
|
2809
2737
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -2844,12 +2772,12 @@ module DatadogAPIClient::V2
|
|
|
2844
2772
|
|
|
2845
2773
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2846
2774
|
if @api_client.config.debugging
|
|
2847
|
-
@api_client.config.logger.debug "API called:
|
|
2775
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_dataset_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2848
2776
|
end
|
|
2849
2777
|
return data, status_code, headers
|
|
2850
2778
|
end
|
|
2851
2779
|
|
|
2852
|
-
# List
|
|
2780
|
+
# List Agent Observability datasets.
|
|
2853
2781
|
#
|
|
2854
2782
|
# @see #list_llm_obs_datasets_with_http_info
|
|
2855
2783
|
def list_llm_obs_datasets(project_id, opts = {})
|
|
@@ -2857,11 +2785,11 @@ module DatadogAPIClient::V2
|
|
|
2857
2785
|
data
|
|
2858
2786
|
end
|
|
2859
2787
|
|
|
2860
|
-
# List
|
|
2788
|
+
# List Agent Observability datasets.
|
|
2861
2789
|
#
|
|
2862
|
-
# List all
|
|
2790
|
+
# List all Agent Observability datasets for a project, sorted by creation date, newest first.
|
|
2863
2791
|
#
|
|
2864
|
-
# @param project_id [String] The ID of the
|
|
2792
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
2865
2793
|
# @param opts [Hash] the optional parameters
|
|
2866
2794
|
# @option opts [String] :filter_name Filter datasets by name.
|
|
2867
2795
|
# @option opts [String] :filter_id Filter datasets by dataset ID.
|
|
@@ -2877,11 +2805,11 @@ module DatadogAPIClient::V2
|
|
|
2877
2805
|
end
|
|
2878
2806
|
|
|
2879
2807
|
if @api_client.config.debugging
|
|
2880
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2808
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_datasets ...'
|
|
2881
2809
|
end
|
|
2882
2810
|
# verify the required parameter 'project_id' is set
|
|
2883
2811
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
2884
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
2812
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.list_llm_obs_datasets"
|
|
2885
2813
|
end
|
|
2886
2814
|
# resource path
|
|
2887
2815
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/'))
|
|
@@ -2923,12 +2851,12 @@ module DatadogAPIClient::V2
|
|
|
2923
2851
|
|
|
2924
2852
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
2925
2853
|
if @api_client.config.debugging
|
|
2926
|
-
@api_client.config.logger.debug "API called:
|
|
2854
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_datasets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2927
2855
|
end
|
|
2928
2856
|
return data, status_code, headers
|
|
2929
2857
|
end
|
|
2930
2858
|
|
|
2931
|
-
# List
|
|
2859
|
+
# List Agent Observability dataset versions.
|
|
2932
2860
|
#
|
|
2933
2861
|
# @see #list_llm_obs_dataset_versions_with_http_info
|
|
2934
2862
|
def list_llm_obs_dataset_versions(project_id, dataset_id, opts = {})
|
|
@@ -2936,12 +2864,12 @@ module DatadogAPIClient::V2
|
|
|
2936
2864
|
data
|
|
2937
2865
|
end
|
|
2938
2866
|
|
|
2939
|
-
# List
|
|
2867
|
+
# List Agent Observability dataset versions.
|
|
2940
2868
|
#
|
|
2941
2869
|
# List the active versions of a dataset. A version is created each time a dataset is referenced by an experiment run.
|
|
2942
2870
|
#
|
|
2943
|
-
# @param project_id [String] The ID of the
|
|
2944
|
-
# @param dataset_id [String] The ID of the
|
|
2871
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
2872
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
2945
2873
|
# @param opts [Hash] the optional parameters
|
|
2946
2874
|
# @return [Array<(LLMObsDatasetVersionsResponse, Integer, Hash)>] LLMObsDatasetVersionsResponse data, response status code and response headers
|
|
2947
2875
|
def list_llm_obs_dataset_versions_with_http_info(project_id, dataset_id, opts = {})
|
|
@@ -2953,15 +2881,15 @@ module DatadogAPIClient::V2
|
|
|
2953
2881
|
end
|
|
2954
2882
|
|
|
2955
2883
|
if @api_client.config.debugging
|
|
2956
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2884
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_dataset_versions ...'
|
|
2957
2885
|
end
|
|
2958
2886
|
# verify the required parameter 'project_id' is set
|
|
2959
2887
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
2960
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
2888
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.list_llm_obs_dataset_versions"
|
|
2961
2889
|
end
|
|
2962
2890
|
# verify the required parameter 'dataset_id' is set
|
|
2963
2891
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
2964
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
2892
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.list_llm_obs_dataset_versions"
|
|
2965
2893
|
end
|
|
2966
2894
|
# resource path
|
|
2967
2895
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/versions'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -2999,12 +2927,12 @@ module DatadogAPIClient::V2
|
|
|
2999
2927
|
|
|
3000
2928
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3001
2929
|
if @api_client.config.debugging
|
|
3002
|
-
@api_client.config.logger.debug "API called:
|
|
2930
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_dataset_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3003
2931
|
end
|
|
3004
2932
|
return data, status_code, headers
|
|
3005
2933
|
end
|
|
3006
2934
|
|
|
3007
|
-
# List events for an
|
|
2935
|
+
# List events for an Agent Observability experiment.
|
|
3008
2936
|
#
|
|
3009
2937
|
# @see #list_llm_obs_experiment_events_with_http_info
|
|
3010
2938
|
def list_llm_obs_experiment_events(experiment_id, opts = {})
|
|
@@ -3012,11 +2940,11 @@ module DatadogAPIClient::V2
|
|
|
3012
2940
|
data
|
|
3013
2941
|
end
|
|
3014
2942
|
|
|
3015
|
-
# List events for an
|
|
2943
|
+
# List events for an Agent Observability experiment.
|
|
3016
2944
|
#
|
|
3017
2945
|
# Retrieve spans and experiment-level summary metrics for a given experiment with cursor-based pagination.
|
|
3018
2946
|
#
|
|
3019
|
-
# @param experiment_id [String] The ID of the
|
|
2947
|
+
# @param experiment_id [String] The ID of the Agent Observability experiment.
|
|
3020
2948
|
# @param opts [Hash] the optional parameters
|
|
3021
2949
|
# @option opts [Integer] :page_limit Maximum number of spans to return per page. Defaults to 5000.
|
|
3022
2950
|
# @option opts [String] :page_cursor Opaque cursor from a previous response to fetch the next page of results.
|
|
@@ -3030,11 +2958,11 @@ module DatadogAPIClient::V2
|
|
|
3030
2958
|
end
|
|
3031
2959
|
|
|
3032
2960
|
if @api_client.config.debugging
|
|
3033
|
-
@api_client.config.logger.debug 'Calling API:
|
|
2961
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_experiment_events ...'
|
|
3034
2962
|
end
|
|
3035
2963
|
# verify the required parameter 'experiment_id' is set
|
|
3036
2964
|
if @api_client.config.client_side_validation && experiment_id.nil?
|
|
3037
|
-
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling
|
|
2965
|
+
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling AgentObservabilityAPI.list_llm_obs_experiment_events"
|
|
3038
2966
|
end
|
|
3039
2967
|
# resource path
|
|
3040
2968
|
local_var_path = '/api/v2/llm-obs/v3/experiments/{experiment_id}/events'.sub('{experiment_id}', CGI.escape(experiment_id.to_s).gsub('%2F', '/'))
|
|
@@ -3074,12 +3002,12 @@ module DatadogAPIClient::V2
|
|
|
3074
3002
|
|
|
3075
3003
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3076
3004
|
if @api_client.config.debugging
|
|
3077
|
-
@api_client.config.logger.debug "API called:
|
|
3005
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_experiment_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3078
3006
|
end
|
|
3079
3007
|
return data, status_code, headers
|
|
3080
3008
|
end
|
|
3081
3009
|
|
|
3082
|
-
# List
|
|
3010
|
+
# List Agent Observability experiment spans (v1).
|
|
3083
3011
|
#
|
|
3084
3012
|
# @see #list_llm_obs_experiment_events_v1_with_http_info
|
|
3085
3013
|
def list_llm_obs_experiment_events_v1(experiment_id, opts = {})
|
|
@@ -3087,13 +3015,13 @@ module DatadogAPIClient::V2
|
|
|
3087
3015
|
data
|
|
3088
3016
|
end
|
|
3089
3017
|
|
|
3090
|
-
# List
|
|
3018
|
+
# List Agent Observability experiment spans (v1).
|
|
3091
3019
|
#
|
|
3092
3020
|
# Retrieve spans with their evaluation metrics for a given experiment. Returns spans only, with no summary metrics and no pagination. Deprecated in favor of `ListLLMObsExperimentEventsV3`.
|
|
3093
3021
|
#
|
|
3094
3022
|
# @deprecated This API is deprecated.
|
|
3095
3023
|
#
|
|
3096
|
-
# @param experiment_id [String] The ID of the
|
|
3024
|
+
# @param experiment_id [String] The ID of the Agent Observability experiment.
|
|
3097
3025
|
# @param opts [Hash] the optional parameters
|
|
3098
3026
|
# @return [Array<(LLMObsExperimentSpansResponse, Integer, Hash)>] LLMObsExperimentSpansResponse data, response status code and response headers
|
|
3099
3027
|
def list_llm_obs_experiment_events_v1_with_http_info(experiment_id, opts = {})
|
|
@@ -3106,11 +3034,11 @@ module DatadogAPIClient::V2
|
|
|
3106
3034
|
end
|
|
3107
3035
|
|
|
3108
3036
|
if @api_client.config.debugging
|
|
3109
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3037
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_experiment_events_v1 ...'
|
|
3110
3038
|
end
|
|
3111
3039
|
# verify the required parameter 'experiment_id' is set
|
|
3112
3040
|
if @api_client.config.client_side_validation && experiment_id.nil?
|
|
3113
|
-
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling
|
|
3041
|
+
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling AgentObservabilityAPI.list_llm_obs_experiment_events_v1"
|
|
3114
3042
|
end
|
|
3115
3043
|
# resource path
|
|
3116
3044
|
local_var_path = '/api/v2/llm-obs/v1/experiments/{experiment_id}/events'.sub('{experiment_id}', CGI.escape(experiment_id.to_s).gsub('%2F', '/'))
|
|
@@ -3148,12 +3076,12 @@ module DatadogAPIClient::V2
|
|
|
3148
3076
|
|
|
3149
3077
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3150
3078
|
if @api_client.config.debugging
|
|
3151
|
-
@api_client.config.logger.debug "API called:
|
|
3079
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_experiment_events_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3152
3080
|
end
|
|
3153
3081
|
return data, status_code, headers
|
|
3154
3082
|
end
|
|
3155
3083
|
|
|
3156
|
-
# List
|
|
3084
|
+
# List Agent Observability experiment events (v2).
|
|
3157
3085
|
#
|
|
3158
3086
|
# @see #list_llm_obs_experiment_events_v2_with_http_info
|
|
3159
3087
|
def list_llm_obs_experiment_events_v2(experiment_id, opts = {})
|
|
@@ -3161,13 +3089,13 @@ module DatadogAPIClient::V2
|
|
|
3161
3089
|
data
|
|
3162
3090
|
end
|
|
3163
3091
|
|
|
3164
|
-
# List
|
|
3092
|
+
# List Agent Observability experiment events (v2).
|
|
3165
3093
|
#
|
|
3166
3094
|
# Retrieve spans and experiment-level summary metrics for a given experiment. Returns the full events payload without pagination. Deprecated: use `ListLLMObsExperimentEventsV3` instead.
|
|
3167
3095
|
#
|
|
3168
3096
|
# @deprecated This API is deprecated.
|
|
3169
3097
|
#
|
|
3170
|
-
# @param experiment_id [String] The ID of the
|
|
3098
|
+
# @param experiment_id [String] The ID of the Agent Observability experiment.
|
|
3171
3099
|
# @param opts [Hash] the optional parameters
|
|
3172
3100
|
# @return [Array<(LLMObsExperimentEventsV2Response, Integer, Hash)>] LLMObsExperimentEventsV2Response data, response status code and response headers
|
|
3173
3101
|
def list_llm_obs_experiment_events_v2_with_http_info(experiment_id, opts = {})
|
|
@@ -3180,11 +3108,11 @@ module DatadogAPIClient::V2
|
|
|
3180
3108
|
end
|
|
3181
3109
|
|
|
3182
3110
|
if @api_client.config.debugging
|
|
3183
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3111
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_experiment_events_v2 ...'
|
|
3184
3112
|
end
|
|
3185
3113
|
# verify the required parameter 'experiment_id' is set
|
|
3186
3114
|
if @api_client.config.client_side_validation && experiment_id.nil?
|
|
3187
|
-
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling
|
|
3115
|
+
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling AgentObservabilityAPI.list_llm_obs_experiment_events_v2"
|
|
3188
3116
|
end
|
|
3189
3117
|
# resource path
|
|
3190
3118
|
local_var_path = '/api/v2/llm-obs/v2/experiments/{experiment_id}/events'.sub('{experiment_id}', CGI.escape(experiment_id.to_s).gsub('%2F', '/'))
|
|
@@ -3222,12 +3150,12 @@ module DatadogAPIClient::V2
|
|
|
3222
3150
|
|
|
3223
3151
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3224
3152
|
if @api_client.config.debugging
|
|
3225
|
-
@api_client.config.logger.debug "API called:
|
|
3153
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_experiment_events_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3226
3154
|
end
|
|
3227
3155
|
return data, status_code, headers
|
|
3228
3156
|
end
|
|
3229
3157
|
|
|
3230
|
-
# List
|
|
3158
|
+
# List Agent Observability experiments.
|
|
3231
3159
|
#
|
|
3232
3160
|
# @see #list_llm_obs_experiments_with_http_info
|
|
3233
3161
|
def list_llm_obs_experiments(opts = {})
|
|
@@ -3235,9 +3163,9 @@ module DatadogAPIClient::V2
|
|
|
3235
3163
|
data
|
|
3236
3164
|
end
|
|
3237
3165
|
|
|
3238
|
-
# List
|
|
3166
|
+
# List Agent Observability experiments.
|
|
3239
3167
|
#
|
|
3240
|
-
# List all
|
|
3168
|
+
# List all Agent Observability experiments sorted by creation date, newest first.
|
|
3241
3169
|
#
|
|
3242
3170
|
# @param opts [Hash] the optional parameters
|
|
3243
3171
|
# @option opts [String] :filter_project_id Filter experiments by project ID. Required if `filter[dataset_id]` is not provided.
|
|
@@ -3262,10 +3190,10 @@ module DatadogAPIClient::V2
|
|
|
3262
3190
|
end
|
|
3263
3191
|
|
|
3264
3192
|
if @api_client.config.debugging
|
|
3265
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3193
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_experiments ...'
|
|
3266
3194
|
end
|
|
3267
3195
|
if @api_client.config.client_side_validation && !opts[:'page_limit'].nil? && opts[:'page_limit'] > 5000
|
|
3268
|
-
fail ArgumentError, 'invalid value for "opts[:"page_limit"]" when calling
|
|
3196
|
+
fail ArgumentError, 'invalid value for "opts[:"page_limit"]" when calling AgentObservabilityAPI.list_llm_obs_experiments, must be smaller than or equal to 5000.'
|
|
3269
3197
|
end
|
|
3270
3198
|
# resource path
|
|
3271
3199
|
local_var_path = '/api/v2/llm-obs/v1/experiments'
|
|
@@ -3315,7 +3243,7 @@ module DatadogAPIClient::V2
|
|
|
3315
3243
|
|
|
3316
3244
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3317
3245
|
if @api_client.config.debugging
|
|
3318
|
-
@api_client.config.logger.debug "API called:
|
|
3246
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_experiments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3319
3247
|
end
|
|
3320
3248
|
return data, status_code, headers
|
|
3321
3249
|
end
|
|
@@ -3344,11 +3272,11 @@ module DatadogAPIClient::V2
|
|
|
3344
3272
|
end
|
|
3345
3273
|
|
|
3346
3274
|
if @api_client.config.debugging
|
|
3347
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3275
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_integration_accounts ...'
|
|
3348
3276
|
end
|
|
3349
3277
|
# verify the required parameter 'integration' is set
|
|
3350
3278
|
if @api_client.config.client_side_validation && integration.nil?
|
|
3351
|
-
fail ArgumentError, "Missing the required parameter 'integration' when calling
|
|
3279
|
+
fail ArgumentError, "Missing the required parameter 'integration' when calling AgentObservabilityAPI.list_llm_obs_integration_accounts"
|
|
3352
3280
|
end
|
|
3353
3281
|
# verify enum value
|
|
3354
3282
|
allowable_values = ['openai', 'amazon_bedrock', 'anthropic', 'azure_openai', 'vertex_ai', 'llmproxy']
|
|
@@ -3391,7 +3319,7 @@ module DatadogAPIClient::V2
|
|
|
3391
3319
|
|
|
3392
3320
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3393
3321
|
if @api_client.config.debugging
|
|
3394
|
-
@api_client.config.logger.debug "API called:
|
|
3322
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_integration_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3395
3323
|
end
|
|
3396
3324
|
return data, status_code, headers
|
|
3397
3325
|
end
|
|
@@ -3421,11 +3349,11 @@ module DatadogAPIClient::V2
|
|
|
3421
3349
|
end
|
|
3422
3350
|
|
|
3423
3351
|
if @api_client.config.debugging
|
|
3424
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3352
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_integration_models ...'
|
|
3425
3353
|
end
|
|
3426
3354
|
# verify the required parameter 'integration' is set
|
|
3427
3355
|
if @api_client.config.client_side_validation && integration.nil?
|
|
3428
|
-
fail ArgumentError, "Missing the required parameter 'integration' when calling
|
|
3356
|
+
fail ArgumentError, "Missing the required parameter 'integration' when calling AgentObservabilityAPI.list_llm_obs_integration_models"
|
|
3429
3357
|
end
|
|
3430
3358
|
# verify enum value
|
|
3431
3359
|
allowable_values = ['openai', 'amazon_bedrock', 'anthropic', 'azure_openai', 'vertex_ai', 'llmproxy']
|
|
@@ -3434,7 +3362,7 @@ module DatadogAPIClient::V2
|
|
|
3434
3362
|
end
|
|
3435
3363
|
# verify the required parameter 'account_id' is set
|
|
3436
3364
|
if @api_client.config.client_side_validation && account_id.nil?
|
|
3437
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling
|
|
3365
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AgentObservabilityAPI.list_llm_obs_integration_models"
|
|
3438
3366
|
end
|
|
3439
3367
|
# resource path
|
|
3440
3368
|
local_var_path = '/api/v2/llm-obs/v1/integrations/{integration}/{account_id}/models'.sub('{integration}', CGI.escape(integration.to_s).gsub('%2F', '/')).sub('{account_id}', CGI.escape(account_id.to_s).gsub('%2F', '/'))
|
|
@@ -3472,7 +3400,7 @@ module DatadogAPIClient::V2
|
|
|
3472
3400
|
|
|
3473
3401
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3474
3402
|
if @api_client.config.debugging
|
|
3475
|
-
@api_client.config.logger.debug "API called:
|
|
3403
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_integration_models\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3476
3404
|
end
|
|
3477
3405
|
return data, status_code, headers
|
|
3478
3406
|
end
|
|
@@ -3504,11 +3432,11 @@ module DatadogAPIClient::V2
|
|
|
3504
3432
|
end
|
|
3505
3433
|
|
|
3506
3434
|
if @api_client.config.debugging
|
|
3507
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3435
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_patterns_clustered_points ...'
|
|
3508
3436
|
end
|
|
3509
3437
|
# verify the required parameter 'topic_id' is set
|
|
3510
3438
|
if @api_client.config.client_side_validation && topic_id.nil?
|
|
3511
|
-
fail ArgumentError, "Missing the required parameter 'topic_id' when calling
|
|
3439
|
+
fail ArgumentError, "Missing the required parameter 'topic_id' when calling AgentObservabilityAPI.list_llm_obs_patterns_clustered_points"
|
|
3512
3440
|
end
|
|
3513
3441
|
# resource path
|
|
3514
3442
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-clustered-points'
|
|
@@ -3549,7 +3477,7 @@ module DatadogAPIClient::V2
|
|
|
3549
3477
|
|
|
3550
3478
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3551
3479
|
if @api_client.config.debugging
|
|
3552
|
-
@api_client.config.logger.debug "API called:
|
|
3480
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_patterns_clustered_points\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3553
3481
|
end
|
|
3554
3482
|
return data, status_code, headers
|
|
3555
3483
|
end
|
|
@@ -3577,7 +3505,7 @@ module DatadogAPIClient::V2
|
|
|
3577
3505
|
end
|
|
3578
3506
|
|
|
3579
3507
|
if @api_client.config.debugging
|
|
3580
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3508
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_patterns_configs ...'
|
|
3581
3509
|
end
|
|
3582
3510
|
# resource path
|
|
3583
3511
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-configs'
|
|
@@ -3615,7 +3543,7 @@ module DatadogAPIClient::V2
|
|
|
3615
3543
|
|
|
3616
3544
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3617
3545
|
if @api_client.config.debugging
|
|
3618
|
-
@api_client.config.logger.debug "API called:
|
|
3546
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_patterns_configs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3619
3547
|
end
|
|
3620
3548
|
return data, status_code, headers
|
|
3621
3549
|
end
|
|
@@ -3644,11 +3572,11 @@ module DatadogAPIClient::V2
|
|
|
3644
3572
|
end
|
|
3645
3573
|
|
|
3646
3574
|
if @api_client.config.debugging
|
|
3647
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3575
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_patterns_runs ...'
|
|
3648
3576
|
end
|
|
3649
3577
|
# verify the required parameter 'config_id' is set
|
|
3650
3578
|
if @api_client.config.client_side_validation && config_id.nil?
|
|
3651
|
-
fail ArgumentError, "Missing the required parameter 'config_id' when calling
|
|
3579
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling AgentObservabilityAPI.list_llm_obs_patterns_runs"
|
|
3652
3580
|
end
|
|
3653
3581
|
# resource path
|
|
3654
3582
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-runs'
|
|
@@ -3687,7 +3615,7 @@ module DatadogAPIClient::V2
|
|
|
3687
3615
|
|
|
3688
3616
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3689
3617
|
if @api_client.config.debugging
|
|
3690
|
-
@api_client.config.logger.debug "API called:
|
|
3618
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_patterns_runs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3691
3619
|
end
|
|
3692
3620
|
return data, status_code, headers
|
|
3693
3621
|
end
|
|
@@ -3718,11 +3646,11 @@ module DatadogAPIClient::V2
|
|
|
3718
3646
|
end
|
|
3719
3647
|
|
|
3720
3648
|
if @api_client.config.debugging
|
|
3721
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3649
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_patterns_topics ...'
|
|
3722
3650
|
end
|
|
3723
3651
|
# verify the required parameter 'config_id' is set
|
|
3724
3652
|
if @api_client.config.client_side_validation && config_id.nil?
|
|
3725
|
-
fail ArgumentError, "Missing the required parameter 'config_id' when calling
|
|
3653
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling AgentObservabilityAPI.list_llm_obs_patterns_topics"
|
|
3726
3654
|
end
|
|
3727
3655
|
# resource path
|
|
3728
3656
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-topics'
|
|
@@ -3762,7 +3690,7 @@ module DatadogAPIClient::V2
|
|
|
3762
3690
|
|
|
3763
3691
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3764
3692
|
if @api_client.config.debugging
|
|
3765
|
-
@api_client.config.logger.debug "API called:
|
|
3693
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_patterns_topics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3766
3694
|
end
|
|
3767
3695
|
return data, status_code, headers
|
|
3768
3696
|
end
|
|
@@ -3795,11 +3723,11 @@ module DatadogAPIClient::V2
|
|
|
3795
3723
|
end
|
|
3796
3724
|
|
|
3797
3725
|
if @api_client.config.debugging
|
|
3798
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3726
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_patterns_topics_with_clustered_points ...'
|
|
3799
3727
|
end
|
|
3800
3728
|
# verify the required parameter 'config_id' is set
|
|
3801
3729
|
if @api_client.config.client_side_validation && config_id.nil?
|
|
3802
|
-
fail ArgumentError, "Missing the required parameter 'config_id' when calling
|
|
3730
|
+
fail ArgumentError, "Missing the required parameter 'config_id' when calling AgentObservabilityAPI.list_llm_obs_patterns_topics_with_clustered_points"
|
|
3803
3731
|
end
|
|
3804
3732
|
# resource path
|
|
3805
3733
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-topics/with-cluster-points'
|
|
@@ -3840,12 +3768,12 @@ module DatadogAPIClient::V2
|
|
|
3840
3768
|
|
|
3841
3769
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3842
3770
|
if @api_client.config.debugging
|
|
3843
|
-
@api_client.config.logger.debug "API called:
|
|
3771
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_patterns_topics_with_clustered_points\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3844
3772
|
end
|
|
3845
3773
|
return data, status_code, headers
|
|
3846
3774
|
end
|
|
3847
3775
|
|
|
3848
|
-
# List
|
|
3776
|
+
# List Agent Observability projects.
|
|
3849
3777
|
#
|
|
3850
3778
|
# @see #list_llm_obs_projects_with_http_info
|
|
3851
3779
|
def list_llm_obs_projects(opts = {})
|
|
@@ -3853,9 +3781,9 @@ module DatadogAPIClient::V2
|
|
|
3853
3781
|
data
|
|
3854
3782
|
end
|
|
3855
3783
|
|
|
3856
|
-
# List
|
|
3784
|
+
# List Agent Observability projects.
|
|
3857
3785
|
#
|
|
3858
|
-
# List all
|
|
3786
|
+
# List all Agent Observability projects sorted by creation date, newest first.
|
|
3859
3787
|
#
|
|
3860
3788
|
# @param opts [Hash] the optional parameters
|
|
3861
3789
|
# @option opts [String] :filter_id Filter projects by project ID.
|
|
@@ -3872,7 +3800,7 @@ module DatadogAPIClient::V2
|
|
|
3872
3800
|
end
|
|
3873
3801
|
|
|
3874
3802
|
if @api_client.config.debugging
|
|
3875
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3803
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_projects ...'
|
|
3876
3804
|
end
|
|
3877
3805
|
# resource path
|
|
3878
3806
|
local_var_path = '/api/v2/llm-obs/v1/projects'
|
|
@@ -3914,12 +3842,12 @@ module DatadogAPIClient::V2
|
|
|
3914
3842
|
|
|
3915
3843
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3916
3844
|
if @api_client.config.debugging
|
|
3917
|
-
@api_client.config.logger.debug "API called:
|
|
3845
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3918
3846
|
end
|
|
3919
3847
|
return data, status_code, headers
|
|
3920
3848
|
end
|
|
3921
3849
|
|
|
3922
|
-
# List
|
|
3850
|
+
# List Agent Observability prompts.
|
|
3923
3851
|
#
|
|
3924
3852
|
# @see #list_llm_obs_prompts_with_http_info
|
|
3925
3853
|
def list_llm_obs_prompts(opts = {})
|
|
@@ -3927,9 +3855,9 @@ module DatadogAPIClient::V2
|
|
|
3927
3855
|
data
|
|
3928
3856
|
end
|
|
3929
3857
|
|
|
3930
|
-
# List
|
|
3858
|
+
# List Agent Observability prompts.
|
|
3931
3859
|
#
|
|
3932
|
-
# List all
|
|
3860
|
+
# List all Agent Observability prompts in the prompt registry for the organization.
|
|
3933
3861
|
#
|
|
3934
3862
|
# @param opts [Hash] the optional parameters
|
|
3935
3863
|
# @option opts [String] :filter_prompt_id Optional filter for prompts by prompt ID.
|
|
@@ -3943,7 +3871,7 @@ module DatadogAPIClient::V2
|
|
|
3943
3871
|
end
|
|
3944
3872
|
|
|
3945
3873
|
if @api_client.config.debugging
|
|
3946
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3874
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_prompts ...'
|
|
3947
3875
|
end
|
|
3948
3876
|
# resource path
|
|
3949
3877
|
local_var_path = '/api/v2/llm-obs/v1/prompts'
|
|
@@ -3982,12 +3910,12 @@ module DatadogAPIClient::V2
|
|
|
3982
3910
|
|
|
3983
3911
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
3984
3912
|
if @api_client.config.debugging
|
|
3985
|
-
@api_client.config.logger.debug "API called:
|
|
3913
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_prompts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3986
3914
|
end
|
|
3987
3915
|
return data, status_code, headers
|
|
3988
3916
|
end
|
|
3989
3917
|
|
|
3990
|
-
# List versions of an
|
|
3918
|
+
# List versions of an Agent Observability prompt.
|
|
3991
3919
|
#
|
|
3992
3920
|
# @see #list_llm_obs_prompt_versions_with_http_info
|
|
3993
3921
|
def list_llm_obs_prompt_versions(prompt_id, opts = {})
|
|
@@ -3995,11 +3923,11 @@ module DatadogAPIClient::V2
|
|
|
3995
3923
|
data
|
|
3996
3924
|
end
|
|
3997
3925
|
|
|
3998
|
-
# List versions of an
|
|
3926
|
+
# List versions of an Agent Observability prompt.
|
|
3999
3927
|
#
|
|
4000
|
-
# List all versions of an
|
|
3928
|
+
# List all versions of an Agent Observability prompt, ordered newest to oldest. If the prompt does not exist, is not registered, or is archived, the response contains an empty list.
|
|
4001
3929
|
#
|
|
4002
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
3930
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
4003
3931
|
# @param opts [Hash] the optional parameters
|
|
4004
3932
|
# @return [Array<(LLMObsPromptVersionsResponse, Integer, Hash)>] LLMObsPromptVersionsResponse data, response status code and response headers
|
|
4005
3933
|
def list_llm_obs_prompt_versions_with_http_info(prompt_id, opts = {})
|
|
@@ -4011,11 +3939,11 @@ module DatadogAPIClient::V2
|
|
|
4011
3939
|
end
|
|
4012
3940
|
|
|
4013
3941
|
if @api_client.config.debugging
|
|
4014
|
-
@api_client.config.logger.debug 'Calling API:
|
|
3942
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_prompt_versions ...'
|
|
4015
3943
|
end
|
|
4016
3944
|
# verify the required parameter 'prompt_id' is set
|
|
4017
3945
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
4018
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
3946
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.list_llm_obs_prompt_versions"
|
|
4019
3947
|
end
|
|
4020
3948
|
# resource path
|
|
4021
3949
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}/versions'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/'))
|
|
@@ -4053,12 +3981,12 @@ module DatadogAPIClient::V2
|
|
|
4053
3981
|
|
|
4054
3982
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
4055
3983
|
if @api_client.config.debugging
|
|
4056
|
-
@api_client.config.logger.debug "API called:
|
|
3984
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_prompt_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4057
3985
|
end
|
|
4058
3986
|
return data, status_code, headers
|
|
4059
3987
|
end
|
|
4060
3988
|
|
|
4061
|
-
# List
|
|
3989
|
+
# List Agent Observability spans.
|
|
4062
3990
|
#
|
|
4063
3991
|
# @see #list_llm_obs_spans_with_http_info
|
|
4064
3992
|
def list_llm_obs_spans(opts = {})
|
|
@@ -4066,14 +3994,14 @@ module DatadogAPIClient::V2
|
|
|
4066
3994
|
data
|
|
4067
3995
|
end
|
|
4068
3996
|
|
|
4069
|
-
# List
|
|
3997
|
+
# List Agent Observability spans.
|
|
4070
3998
|
#
|
|
4071
|
-
# List
|
|
3999
|
+
# List Agent Observability spans matching the specified filters.
|
|
4072
4000
|
#
|
|
4073
4001
|
# @param opts [Hash] the optional parameters
|
|
4074
4002
|
# @option opts [String] :filter_from Start of the time range. Accepts ISO 8601 or relative format (e.g., `now-15m`). Defaults to `now-15m`.
|
|
4075
4003
|
# @option opts [String] :filter_to End of the time range. Accepts ISO 8601 or relative format. Defaults to `now`.
|
|
4076
|
-
# @option opts [String] :filter_query Search query using
|
|
4004
|
+
# @option opts [String] :filter_query Search query using Agent Observability query syntax. Supports attribute filters using the field:value syntax (e.g. session_id, trace_id, ml_app, meta.span.kind). When provided, structured field filters (`filter[span_id]`, `filter[trace_id]`, etc.) are ignored.
|
|
4077
4005
|
# @option opts [String] :filter_span_id Filter by exact span ID.
|
|
4078
4006
|
# @option opts [String] :filter_trace_id Filter by exact trace ID.
|
|
4079
4007
|
# @option opts [String] :filter_span_kind Filter by span kind (e.g., llm, agent, tool, task, workflow).
|
|
@@ -4093,7 +4021,7 @@ module DatadogAPIClient::V2
|
|
|
4093
4021
|
end
|
|
4094
4022
|
|
|
4095
4023
|
if @api_client.config.debugging
|
|
4096
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4024
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.list_llm_obs_spans ...'
|
|
4097
4025
|
end
|
|
4098
4026
|
# resource path
|
|
4099
4027
|
local_var_path = '/api/v2/llm-obs/v1/spans/events'
|
|
@@ -4143,12 +4071,12 @@ module DatadogAPIClient::V2
|
|
|
4143
4071
|
|
|
4144
4072
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
|
4145
4073
|
if @api_client.config.debugging
|
|
4146
|
-
@api_client.config.logger.debug "API called:
|
|
4074
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#list_llm_obs_spans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4147
4075
|
end
|
|
4148
4076
|
return data, status_code, headers
|
|
4149
4077
|
end
|
|
4150
4078
|
|
|
4151
|
-
# Lock
|
|
4079
|
+
# Lock Agent Observability dataset draft state.
|
|
4152
4080
|
#
|
|
4153
4081
|
# @see #lock_llm_obs_dataset_draft_state_with_http_info
|
|
4154
4082
|
def lock_llm_obs_dataset_draft_state(project_id, dataset_id, opts = {})
|
|
@@ -4156,12 +4084,12 @@ module DatadogAPIClient::V2
|
|
|
4156
4084
|
data
|
|
4157
4085
|
end
|
|
4158
4086
|
|
|
4159
|
-
# Lock
|
|
4087
|
+
# Lock Agent Observability dataset draft state.
|
|
4160
4088
|
#
|
|
4161
4089
|
# Acquire the draft lock on a dataset for the calling user. The lock prevents other users from concurrently editing the dataset draft.
|
|
4162
4090
|
#
|
|
4163
|
-
# @param project_id [String] The ID of the
|
|
4164
|
-
# @param dataset_id [String] The ID of the
|
|
4091
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
4092
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
4165
4093
|
# @param opts [Hash] the optional parameters
|
|
4166
4094
|
# @return [Array<(LLMObsDatasetDraftStateResponse, Integer, Hash)>] LLMObsDatasetDraftStateResponse data, response status code and response headers
|
|
4167
4095
|
def lock_llm_obs_dataset_draft_state_with_http_info(project_id, dataset_id, opts = {})
|
|
@@ -4173,15 +4101,15 @@ module DatadogAPIClient::V2
|
|
|
4173
4101
|
end
|
|
4174
4102
|
|
|
4175
4103
|
if @api_client.config.debugging
|
|
4176
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4104
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.lock_llm_obs_dataset_draft_state ...'
|
|
4177
4105
|
end
|
|
4178
4106
|
# verify the required parameter 'project_id' is set
|
|
4179
4107
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
4180
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
4108
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.lock_llm_obs_dataset_draft_state"
|
|
4181
4109
|
end
|
|
4182
4110
|
# verify the required parameter 'dataset_id' is set
|
|
4183
4111
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
4184
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
4112
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.lock_llm_obs_dataset_draft_state"
|
|
4185
4113
|
end
|
|
4186
4114
|
# resource path
|
|
4187
4115
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/draft_state/lock'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -4219,12 +4147,12 @@ module DatadogAPIClient::V2
|
|
|
4219
4147
|
|
|
4220
4148
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
4221
4149
|
if @api_client.config.debugging
|
|
4222
|
-
@api_client.config.logger.debug "API called:
|
|
4150
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#lock_llm_obs_dataset_draft_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4223
4151
|
end
|
|
4224
4152
|
return data, status_code, headers
|
|
4225
4153
|
end
|
|
4226
4154
|
|
|
4227
|
-
# Restore an
|
|
4155
|
+
# Restore an Agent Observability dataset version.
|
|
4228
4156
|
#
|
|
4229
4157
|
# @see #restore_llm_obs_dataset_version_with_http_info
|
|
4230
4158
|
def restore_llm_obs_dataset_version(project_id, dataset_id, body, opts = {})
|
|
@@ -4232,12 +4160,12 @@ module DatadogAPIClient::V2
|
|
|
4232
4160
|
nil
|
|
4233
4161
|
end
|
|
4234
4162
|
|
|
4235
|
-
# Restore an
|
|
4163
|
+
# Restore an Agent Observability dataset version.
|
|
4236
4164
|
#
|
|
4237
4165
|
# Restore a dataset to a previous version. The dataset's current version is bumped, and its records are replaced with the records from the specified prior version.
|
|
4238
4166
|
#
|
|
4239
|
-
# @param project_id [String] The ID of the
|
|
4240
|
-
# @param dataset_id [String] The ID of the
|
|
4167
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
4168
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
4241
4169
|
# @param body [LLMObsDatasetRestoreVersionRequest] Restore dataset version payload.
|
|
4242
4170
|
# @param opts [Hash] the optional parameters
|
|
4243
4171
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -4250,19 +4178,19 @@ module DatadogAPIClient::V2
|
|
|
4250
4178
|
end
|
|
4251
4179
|
|
|
4252
4180
|
if @api_client.config.debugging
|
|
4253
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4181
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.restore_llm_obs_dataset_version ...'
|
|
4254
4182
|
end
|
|
4255
4183
|
# verify the required parameter 'project_id' is set
|
|
4256
4184
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
4257
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
4185
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.restore_llm_obs_dataset_version"
|
|
4258
4186
|
end
|
|
4259
4187
|
# verify the required parameter 'dataset_id' is set
|
|
4260
4188
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
4261
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
4189
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.restore_llm_obs_dataset_version"
|
|
4262
4190
|
end
|
|
4263
4191
|
# verify the required parameter 'body' is set
|
|
4264
4192
|
if @api_client.config.client_side_validation && body.nil?
|
|
4265
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4193
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.restore_llm_obs_dataset_version"
|
|
4266
4194
|
end
|
|
4267
4195
|
# resource path
|
|
4268
4196
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/restore'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -4302,12 +4230,12 @@ module DatadogAPIClient::V2
|
|
|
4302
4230
|
|
|
4303
4231
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
4304
4232
|
if @api_client.config.debugging
|
|
4305
|
-
@api_client.config.logger.debug "API called:
|
|
4233
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#restore_llm_obs_dataset_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4306
4234
|
end
|
|
4307
4235
|
return data, status_code, headers
|
|
4308
4236
|
end
|
|
4309
4237
|
|
|
4310
|
-
# Search
|
|
4238
|
+
# Search Agent Observability experimentation.
|
|
4311
4239
|
#
|
|
4312
4240
|
# @see #search_llm_obs_experimentation_with_http_info
|
|
4313
4241
|
def search_llm_obs_experimentation(body, opts = {})
|
|
@@ -4315,9 +4243,9 @@ module DatadogAPIClient::V2
|
|
|
4315
4243
|
data
|
|
4316
4244
|
end
|
|
4317
4245
|
|
|
4318
|
-
# Search
|
|
4246
|
+
# Search Agent Observability experimentation.
|
|
4319
4247
|
#
|
|
4320
|
-
# Search across
|
|
4248
|
+
# Search across Agent Observability experimentation entities — projects, datasets, dataset records, experiments, and experiment runs — using cursor-based pagination.
|
|
4321
4249
|
#
|
|
4322
4250
|
# The `filter.scope` field controls which entity types are returned. At least one valid scope must be provided.
|
|
4323
4251
|
#
|
|
@@ -4335,11 +4263,11 @@ module DatadogAPIClient::V2
|
|
|
4335
4263
|
end
|
|
4336
4264
|
|
|
4337
4265
|
if @api_client.config.debugging
|
|
4338
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4266
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.search_llm_obs_experimentation ...'
|
|
4339
4267
|
end
|
|
4340
4268
|
# verify the required parameter 'body' is set
|
|
4341
4269
|
if @api_client.config.client_side_validation && body.nil?
|
|
4342
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4270
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.search_llm_obs_experimentation"
|
|
4343
4271
|
end
|
|
4344
4272
|
# resource path
|
|
4345
4273
|
local_var_path = '/api/v2/llm-obs/v1/experimentation/search'
|
|
@@ -4379,12 +4307,12 @@ module DatadogAPIClient::V2
|
|
|
4379
4307
|
|
|
4380
4308
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
4381
4309
|
if @api_client.config.debugging
|
|
4382
|
-
@api_client.config.logger.debug "API called:
|
|
4310
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#search_llm_obs_experimentation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4383
4311
|
end
|
|
4384
4312
|
return data, status_code, headers
|
|
4385
4313
|
end
|
|
4386
4314
|
|
|
4387
|
-
# Search
|
|
4315
|
+
# Search Agent Observability spans.
|
|
4388
4316
|
#
|
|
4389
4317
|
# @see #search_llm_obs_spans_with_http_info
|
|
4390
4318
|
def search_llm_obs_spans(body, opts = {})
|
|
@@ -4392,9 +4320,9 @@ module DatadogAPIClient::V2
|
|
|
4392
4320
|
data
|
|
4393
4321
|
end
|
|
4394
4322
|
|
|
4395
|
-
# Search
|
|
4323
|
+
# Search Agent Observability spans.
|
|
4396
4324
|
#
|
|
4397
|
-
# Search
|
|
4325
|
+
# Search Agent Observability spans using structured filters in the request body.
|
|
4398
4326
|
#
|
|
4399
4327
|
# @param body [LLMObsSearchSpansRequest] Search spans payload.
|
|
4400
4328
|
# @param opts [Hash] the optional parameters
|
|
@@ -4408,11 +4336,11 @@ module DatadogAPIClient::V2
|
|
|
4408
4336
|
end
|
|
4409
4337
|
|
|
4410
4338
|
if @api_client.config.debugging
|
|
4411
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4339
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.search_llm_obs_spans ...'
|
|
4412
4340
|
end
|
|
4413
4341
|
# verify the required parameter 'body' is set
|
|
4414
4342
|
if @api_client.config.client_side_validation && body.nil?
|
|
4415
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4343
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.search_llm_obs_spans"
|
|
4416
4344
|
end
|
|
4417
4345
|
# resource path
|
|
4418
4346
|
local_var_path = '/api/v2/llm-obs/v1/spans/events/search'
|
|
@@ -4452,7 +4380,7 @@ module DatadogAPIClient::V2
|
|
|
4452
4380
|
|
|
4453
4381
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
4454
4382
|
if @api_client.config.debugging
|
|
4455
|
-
@api_client.config.logger.debug "API called:
|
|
4383
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#search_llm_obs_spans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4456
4384
|
end
|
|
4457
4385
|
return data, status_code, headers
|
|
4458
4386
|
end
|
|
@@ -4467,7 +4395,7 @@ module DatadogAPIClient::V2
|
|
|
4467
4395
|
|
|
4468
4396
|
# Simple search experimentation entities.
|
|
4469
4397
|
#
|
|
4470
|
-
# Search across
|
|
4398
|
+
# Search across Agent Observability experimentation entities using offset-based (page-number) pagination.
|
|
4471
4399
|
# Use this endpoint when you need total page count or want to navigate to a specific page number.
|
|
4472
4400
|
#
|
|
4473
4401
|
# The `filter.scope` field controls which entity types are returned. At least one valid scope must be provided.
|
|
@@ -4484,11 +4412,11 @@ module DatadogAPIClient::V2
|
|
|
4484
4412
|
end
|
|
4485
4413
|
|
|
4486
4414
|
if @api_client.config.debugging
|
|
4487
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4415
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.simple_search_llm_obs_experimentation ...'
|
|
4488
4416
|
end
|
|
4489
4417
|
# verify the required parameter 'body' is set
|
|
4490
4418
|
if @api_client.config.client_side_validation && body.nil?
|
|
4491
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4419
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.simple_search_llm_obs_experimentation"
|
|
4492
4420
|
end
|
|
4493
4421
|
# resource path
|
|
4494
4422
|
local_var_path = '/api/v2/llm-obs/v1/experimentation/simple-search'
|
|
@@ -4528,7 +4456,7 @@ module DatadogAPIClient::V2
|
|
|
4528
4456
|
|
|
4529
4457
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
4530
4458
|
if @api_client.config.debugging
|
|
4531
|
-
@api_client.config.logger.debug "API called:
|
|
4459
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#simple_search_llm_obs_experimentation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4532
4460
|
end
|
|
4533
4461
|
return data, status_code, headers
|
|
4534
4462
|
end
|
|
@@ -4557,11 +4485,11 @@ module DatadogAPIClient::V2
|
|
|
4557
4485
|
end
|
|
4558
4486
|
|
|
4559
4487
|
if @api_client.config.debugging
|
|
4560
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4488
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.trigger_llm_obs_patterns ...'
|
|
4561
4489
|
end
|
|
4562
4490
|
# verify the required parameter 'body' is set
|
|
4563
4491
|
if @api_client.config.client_side_validation && body.nil?
|
|
4564
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4492
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.trigger_llm_obs_patterns"
|
|
4565
4493
|
end
|
|
4566
4494
|
# resource path
|
|
4567
4495
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-runs'
|
|
@@ -4601,12 +4529,12 @@ module DatadogAPIClient::V2
|
|
|
4601
4529
|
|
|
4602
4530
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
4603
4531
|
if @api_client.config.debugging
|
|
4604
|
-
@api_client.config.logger.debug "API called:
|
|
4532
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#trigger_llm_obs_patterns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4605
4533
|
end
|
|
4606
4534
|
return data, status_code, headers
|
|
4607
4535
|
end
|
|
4608
4536
|
|
|
4609
|
-
# Unlock
|
|
4537
|
+
# Unlock Agent Observability dataset draft state.
|
|
4610
4538
|
#
|
|
4611
4539
|
# @see #unlock_llm_obs_dataset_draft_state_with_http_info
|
|
4612
4540
|
def unlock_llm_obs_dataset_draft_state(project_id, dataset_id, opts = {})
|
|
@@ -4614,12 +4542,12 @@ module DatadogAPIClient::V2
|
|
|
4614
4542
|
nil
|
|
4615
4543
|
end
|
|
4616
4544
|
|
|
4617
|
-
# Unlock
|
|
4545
|
+
# Unlock Agent Observability dataset draft state.
|
|
4618
4546
|
#
|
|
4619
4547
|
# Release the draft lock on a dataset held by the calling user, allowing other users to edit the dataset draft.
|
|
4620
4548
|
#
|
|
4621
|
-
# @param project_id [String] The ID of the
|
|
4622
|
-
# @param dataset_id [String] The ID of the
|
|
4549
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
4550
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
4623
4551
|
# @param opts [Hash] the optional parameters
|
|
4624
4552
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4625
4553
|
def unlock_llm_obs_dataset_draft_state_with_http_info(project_id, dataset_id, opts = {})
|
|
@@ -4631,15 +4559,15 @@ module DatadogAPIClient::V2
|
|
|
4631
4559
|
end
|
|
4632
4560
|
|
|
4633
4561
|
if @api_client.config.debugging
|
|
4634
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4562
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.unlock_llm_obs_dataset_draft_state ...'
|
|
4635
4563
|
end
|
|
4636
4564
|
# verify the required parameter 'project_id' is set
|
|
4637
4565
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
4638
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
4566
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.unlock_llm_obs_dataset_draft_state"
|
|
4639
4567
|
end
|
|
4640
4568
|
# verify the required parameter 'dataset_id' is set
|
|
4641
4569
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
4642
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
4570
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.unlock_llm_obs_dataset_draft_state"
|
|
4643
4571
|
end
|
|
4644
4572
|
# resource path
|
|
4645
4573
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/draft_state/unlock'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -4677,12 +4605,12 @@ module DatadogAPIClient::V2
|
|
|
4677
4605
|
|
|
4678
4606
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
4679
4607
|
if @api_client.config.debugging
|
|
4680
|
-
@api_client.config.logger.debug "API called:
|
|
4608
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#unlock_llm_obs_dataset_draft_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4681
4609
|
end
|
|
4682
4610
|
return data, status_code, headers
|
|
4683
4611
|
end
|
|
4684
4612
|
|
|
4685
|
-
# Update an
|
|
4613
|
+
# Update an Agent Observability annotation queue.
|
|
4686
4614
|
#
|
|
4687
4615
|
# @see #update_llm_obs_annotation_queue_with_http_info
|
|
4688
4616
|
def update_llm_obs_annotation_queue(queue_id, body, opts = {})
|
|
@@ -4690,11 +4618,13 @@ module DatadogAPIClient::V2
|
|
|
4690
4618
|
data
|
|
4691
4619
|
end
|
|
4692
4620
|
|
|
4693
|
-
# Update an
|
|
4621
|
+
# Update an Agent Observability annotation queue.
|
|
4694
4622
|
#
|
|
4695
|
-
# Partially update an annotation queue. The `name`, `description`,
|
|
4623
|
+
# Partially update an annotation queue. The `name`, `description`,
|
|
4624
|
+
# `annotation_schema`, `reviewer_emails`, `restrict_to_reviewers`, and
|
|
4625
|
+
# `restrict_to_assignees` fields can be updated.
|
|
4696
4626
|
#
|
|
4697
|
-
# @param queue_id [String] The ID of the
|
|
4627
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
4698
4628
|
# @param body [LLMObsAnnotationQueueUpdateRequest] Update annotation queue payload.
|
|
4699
4629
|
# @param opts [Hash] the optional parameters
|
|
4700
4630
|
# @return [Array<(LLMObsAnnotationQueueResponse, Integer, Hash)>] LLMObsAnnotationQueueResponse data, response status code and response headers
|
|
@@ -4707,15 +4637,15 @@ module DatadogAPIClient::V2
|
|
|
4707
4637
|
end
|
|
4708
4638
|
|
|
4709
4639
|
if @api_client.config.debugging
|
|
4710
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4640
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_annotation_queue ...'
|
|
4711
4641
|
end
|
|
4712
4642
|
# verify the required parameter 'queue_id' is set
|
|
4713
4643
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
4714
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
4644
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.update_llm_obs_annotation_queue"
|
|
4715
4645
|
end
|
|
4716
4646
|
# verify the required parameter 'body' is set
|
|
4717
4647
|
if @api_client.config.client_side_validation && body.nil?
|
|
4718
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4648
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_annotation_queue"
|
|
4719
4649
|
end
|
|
4720
4650
|
# resource path
|
|
4721
4651
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -4755,7 +4685,7 @@ module DatadogAPIClient::V2
|
|
|
4755
4685
|
|
|
4756
4686
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
4757
4687
|
if @api_client.config.debugging
|
|
4758
|
-
@api_client.config.logger.debug "API called:
|
|
4688
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_annotation_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4759
4689
|
end
|
|
4760
4690
|
return data, status_code, headers
|
|
4761
4691
|
end
|
|
@@ -4775,7 +4705,7 @@ module DatadogAPIClient::V2
|
|
|
4775
4705
|
# Label names must be unique within the queue and match the pattern `^[a-zA-Z0-9_-]+$`.
|
|
4776
4706
|
# Each label must have a valid type: score, categorical, boolean, or text.
|
|
4777
4707
|
#
|
|
4778
|
-
# @param queue_id [String] The ID of the
|
|
4708
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
4779
4709
|
# @param body [LLMObsAnnotationQueueLabelSchemaUpdateRequest] Update label schema payload.
|
|
4780
4710
|
# @param opts [Hash] the optional parameters
|
|
4781
4711
|
# @return [Array<(LLMObsAnnotationQueueLabelSchemaResponse, Integer, Hash)>] LLMObsAnnotationQueueLabelSchemaResponse data, response status code and response headers
|
|
@@ -4788,15 +4718,15 @@ module DatadogAPIClient::V2
|
|
|
4788
4718
|
end
|
|
4789
4719
|
|
|
4790
4720
|
if @api_client.config.debugging
|
|
4791
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4721
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_annotation_queue_label_schema ...'
|
|
4792
4722
|
end
|
|
4793
4723
|
# verify the required parameter 'queue_id' is set
|
|
4794
4724
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
4795
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
4725
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.update_llm_obs_annotation_queue_label_schema"
|
|
4796
4726
|
end
|
|
4797
4727
|
# verify the required parameter 'body' is set
|
|
4798
4728
|
if @api_client.config.client_side_validation && body.nil?
|
|
4799
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4729
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_annotation_queue_label_schema"
|
|
4800
4730
|
end
|
|
4801
4731
|
# resource path
|
|
4802
4732
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/label-schema'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -4836,7 +4766,7 @@ module DatadogAPIClient::V2
|
|
|
4836
4766
|
|
|
4837
4767
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
4838
4768
|
if @api_client.config.debugging
|
|
4839
|
-
@api_client.config.logger.debug "API called:
|
|
4769
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_annotation_queue_label_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4840
4770
|
end
|
|
4841
4771
|
return data, status_code, headers
|
|
4842
4772
|
end
|
|
@@ -4851,9 +4781,9 @@ module DatadogAPIClient::V2
|
|
|
4851
4781
|
|
|
4852
4782
|
# Create or update a custom evaluator configuration.
|
|
4853
4783
|
#
|
|
4854
|
-
# Create or update a custom
|
|
4784
|
+
# Create or update a custom Agent Observability evaluator configuration by its name.
|
|
4855
4785
|
#
|
|
4856
|
-
# @param eval_name [String] The name of the custom
|
|
4786
|
+
# @param eval_name [String] The name of the custom Agent Observability evaluator configuration.
|
|
4857
4787
|
# @param body [LLMObsCustomEvalConfigUpdateRequest] Custom evaluator configuration payload.
|
|
4858
4788
|
# @param opts [Hash] the optional parameters
|
|
4859
4789
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -4866,15 +4796,15 @@ module DatadogAPIClient::V2
|
|
|
4866
4796
|
end
|
|
4867
4797
|
|
|
4868
4798
|
if @api_client.config.debugging
|
|
4869
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4799
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_custom_eval_config ...'
|
|
4870
4800
|
end
|
|
4871
4801
|
# verify the required parameter 'eval_name' is set
|
|
4872
4802
|
if @api_client.config.client_side_validation && eval_name.nil?
|
|
4873
|
-
fail ArgumentError, "Missing the required parameter 'eval_name' when calling
|
|
4803
|
+
fail ArgumentError, "Missing the required parameter 'eval_name' when calling AgentObservabilityAPI.update_llm_obs_custom_eval_config"
|
|
4874
4804
|
end
|
|
4875
4805
|
# verify the required parameter 'body' is set
|
|
4876
4806
|
if @api_client.config.client_side_validation && body.nil?
|
|
4877
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4807
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_custom_eval_config"
|
|
4878
4808
|
end
|
|
4879
4809
|
# resource path
|
|
4880
4810
|
local_var_path = '/api/unstable/llm-obs/config/evaluators/custom/{eval_name}'.sub('{eval_name}', CGI.escape(eval_name.to_s).gsub('%2F', '/'))
|
|
@@ -4914,12 +4844,12 @@ module DatadogAPIClient::V2
|
|
|
4914
4844
|
|
|
4915
4845
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
4916
4846
|
if @api_client.config.debugging
|
|
4917
|
-
@api_client.config.logger.debug "API called:
|
|
4847
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_custom_eval_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4918
4848
|
end
|
|
4919
4849
|
return data, status_code, headers
|
|
4920
4850
|
end
|
|
4921
4851
|
|
|
4922
|
-
# Update an
|
|
4852
|
+
# Update an Agent Observability dataset.
|
|
4923
4853
|
#
|
|
4924
4854
|
# @see #update_llm_obs_dataset_with_http_info
|
|
4925
4855
|
def update_llm_obs_dataset(project_id, dataset_id, body, opts = {})
|
|
@@ -4927,12 +4857,12 @@ module DatadogAPIClient::V2
|
|
|
4927
4857
|
data
|
|
4928
4858
|
end
|
|
4929
4859
|
|
|
4930
|
-
# Update an
|
|
4860
|
+
# Update an Agent Observability dataset.
|
|
4931
4861
|
#
|
|
4932
|
-
# Partially update an existing
|
|
4862
|
+
# Partially update an existing Agent Observability dataset within the specified project.
|
|
4933
4863
|
#
|
|
4934
|
-
# @param project_id [String] The ID of the
|
|
4935
|
-
# @param dataset_id [String] The ID of the
|
|
4864
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
4865
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
4936
4866
|
# @param body [LLMObsDatasetUpdateRequest] Update dataset payload.
|
|
4937
4867
|
# @param opts [Hash] the optional parameters
|
|
4938
4868
|
# @return [Array<(LLMObsDatasetResponse, Integer, Hash)>] LLMObsDatasetResponse data, response status code and response headers
|
|
@@ -4945,19 +4875,19 @@ module DatadogAPIClient::V2
|
|
|
4945
4875
|
end
|
|
4946
4876
|
|
|
4947
4877
|
if @api_client.config.debugging
|
|
4948
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4878
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_dataset ...'
|
|
4949
4879
|
end
|
|
4950
4880
|
# verify the required parameter 'project_id' is set
|
|
4951
4881
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
4952
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
4882
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.update_llm_obs_dataset"
|
|
4953
4883
|
end
|
|
4954
4884
|
# verify the required parameter 'dataset_id' is set
|
|
4955
4885
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
4956
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
4886
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.update_llm_obs_dataset"
|
|
4957
4887
|
end
|
|
4958
4888
|
# verify the required parameter 'body' is set
|
|
4959
4889
|
if @api_client.config.client_side_validation && body.nil?
|
|
4960
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4890
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_dataset"
|
|
4961
4891
|
end
|
|
4962
4892
|
# resource path
|
|
4963
4893
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -4997,12 +4927,12 @@ module DatadogAPIClient::V2
|
|
|
4997
4927
|
|
|
4998
4928
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
4999
4929
|
if @api_client.config.debugging
|
|
5000
|
-
@api_client.config.logger.debug "API called:
|
|
4930
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_dataset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5001
4931
|
end
|
|
5002
4932
|
return data, status_code, headers
|
|
5003
4933
|
end
|
|
5004
4934
|
|
|
5005
|
-
# Update
|
|
4935
|
+
# Update Agent Observability dataset records.
|
|
5006
4936
|
#
|
|
5007
4937
|
# @see #update_llm_obs_dataset_records_with_http_info
|
|
5008
4938
|
def update_llm_obs_dataset_records(project_id, dataset_id, body, opts = {})
|
|
@@ -5010,12 +4940,12 @@ module DatadogAPIClient::V2
|
|
|
5010
4940
|
data
|
|
5011
4941
|
end
|
|
5012
4942
|
|
|
5013
|
-
# Update
|
|
4943
|
+
# Update Agent Observability dataset records.
|
|
5014
4944
|
#
|
|
5015
|
-
# Update one or more existing records in an
|
|
4945
|
+
# Update one or more existing records in an Agent Observability dataset.
|
|
5016
4946
|
#
|
|
5017
|
-
# @param project_id [String] The ID of the
|
|
5018
|
-
# @param dataset_id [String] The ID of the
|
|
4947
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
4948
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
5019
4949
|
# @param body [LLMObsDatasetRecordsUpdateRequest] Update records payload.
|
|
5020
4950
|
# @param opts [Hash] the optional parameters
|
|
5021
4951
|
# @return [Array<(LLMObsDatasetRecordsMutationResponse, Integer, Hash)>] LLMObsDatasetRecordsMutationResponse data, response status code and response headers
|
|
@@ -5028,19 +4958,19 @@ module DatadogAPIClient::V2
|
|
|
5028
4958
|
end
|
|
5029
4959
|
|
|
5030
4960
|
if @api_client.config.debugging
|
|
5031
|
-
@api_client.config.logger.debug 'Calling API:
|
|
4961
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_dataset_records ...'
|
|
5032
4962
|
end
|
|
5033
4963
|
# verify the required parameter 'project_id' is set
|
|
5034
4964
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
5035
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
4965
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.update_llm_obs_dataset_records"
|
|
5036
4966
|
end
|
|
5037
4967
|
# verify the required parameter 'dataset_id' is set
|
|
5038
4968
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
5039
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
4969
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.update_llm_obs_dataset_records"
|
|
5040
4970
|
end
|
|
5041
4971
|
# verify the required parameter 'body' is set
|
|
5042
4972
|
if @api_client.config.client_side_validation && body.nil?
|
|
5043
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
4973
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_dataset_records"
|
|
5044
4974
|
end
|
|
5045
4975
|
# resource path
|
|
5046
4976
|
local_var_path = '/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -5080,12 +5010,12 @@ module DatadogAPIClient::V2
|
|
|
5080
5010
|
|
|
5081
5011
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
5082
5012
|
if @api_client.config.debugging
|
|
5083
|
-
@api_client.config.logger.debug "API called:
|
|
5013
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_dataset_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5084
5014
|
end
|
|
5085
5015
|
return data, status_code, headers
|
|
5086
5016
|
end
|
|
5087
5017
|
|
|
5088
|
-
# Update an
|
|
5018
|
+
# Update an Agent Observability experiment.
|
|
5089
5019
|
#
|
|
5090
5020
|
# @see #update_llm_obs_experiment_with_http_info
|
|
5091
5021
|
def update_llm_obs_experiment(experiment_id, body, opts = {})
|
|
@@ -5093,11 +5023,11 @@ module DatadogAPIClient::V2
|
|
|
5093
5023
|
data
|
|
5094
5024
|
end
|
|
5095
5025
|
|
|
5096
|
-
# Update an
|
|
5026
|
+
# Update an Agent Observability experiment.
|
|
5097
5027
|
#
|
|
5098
|
-
# Partially update an existing
|
|
5028
|
+
# Partially update an existing Agent Observability experiment.
|
|
5099
5029
|
#
|
|
5100
|
-
# @param experiment_id [String] The ID of the
|
|
5030
|
+
# @param experiment_id [String] The ID of the Agent Observability experiment.
|
|
5101
5031
|
# @param body [LLMObsExperimentUpdateRequest] Update experiment payload.
|
|
5102
5032
|
# @param opts [Hash] the optional parameters
|
|
5103
5033
|
# @return [Array<(LLMObsExperimentResponse, Integer, Hash)>] LLMObsExperimentResponse data, response status code and response headers
|
|
@@ -5110,15 +5040,15 @@ module DatadogAPIClient::V2
|
|
|
5110
5040
|
end
|
|
5111
5041
|
|
|
5112
5042
|
if @api_client.config.debugging
|
|
5113
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5043
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_experiment ...'
|
|
5114
5044
|
end
|
|
5115
5045
|
# verify the required parameter 'experiment_id' is set
|
|
5116
5046
|
if @api_client.config.client_side_validation && experiment_id.nil?
|
|
5117
|
-
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling
|
|
5047
|
+
fail ArgumentError, "Missing the required parameter 'experiment_id' when calling AgentObservabilityAPI.update_llm_obs_experiment"
|
|
5118
5048
|
end
|
|
5119
5049
|
# verify the required parameter 'body' is set
|
|
5120
5050
|
if @api_client.config.client_side_validation && body.nil?
|
|
5121
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5051
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_experiment"
|
|
5122
5052
|
end
|
|
5123
5053
|
# resource path
|
|
5124
5054
|
local_var_path = '/api/v2/llm-obs/v1/experiments/{experiment_id}'.sub('{experiment_id}', CGI.escape(experiment_id.to_s).gsub('%2F', '/'))
|
|
@@ -5158,12 +5088,12 @@ module DatadogAPIClient::V2
|
|
|
5158
5088
|
|
|
5159
5089
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
5160
5090
|
if @api_client.config.debugging
|
|
5161
|
-
@api_client.config.logger.debug "API called:
|
|
5091
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_experiment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5162
5092
|
end
|
|
5163
5093
|
return data, status_code, headers
|
|
5164
5094
|
end
|
|
5165
5095
|
|
|
5166
|
-
# Update an
|
|
5096
|
+
# Update an Agent Observability project.
|
|
5167
5097
|
#
|
|
5168
5098
|
# @see #update_llm_obs_project_with_http_info
|
|
5169
5099
|
def update_llm_obs_project(project_id, body, opts = {})
|
|
@@ -5171,11 +5101,11 @@ module DatadogAPIClient::V2
|
|
|
5171
5101
|
data
|
|
5172
5102
|
end
|
|
5173
5103
|
|
|
5174
|
-
# Update an
|
|
5104
|
+
# Update an Agent Observability project.
|
|
5175
5105
|
#
|
|
5176
|
-
# Partially update an existing
|
|
5106
|
+
# Partially update an existing Agent Observability project.
|
|
5177
5107
|
#
|
|
5178
|
-
# @param project_id [String] The ID of the
|
|
5108
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
5179
5109
|
# @param body [LLMObsProjectUpdateRequest] Update project payload.
|
|
5180
5110
|
# @param opts [Hash] the optional parameters
|
|
5181
5111
|
# @return [Array<(LLMObsProjectResponse, Integer, Hash)>] LLMObsProjectResponse data, response status code and response headers
|
|
@@ -5188,15 +5118,15 @@ module DatadogAPIClient::V2
|
|
|
5188
5118
|
end
|
|
5189
5119
|
|
|
5190
5120
|
if @api_client.config.debugging
|
|
5191
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5121
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_project ...'
|
|
5192
5122
|
end
|
|
5193
5123
|
# verify the required parameter 'project_id' is set
|
|
5194
5124
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
5195
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
5125
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.update_llm_obs_project"
|
|
5196
5126
|
end
|
|
5197
5127
|
# verify the required parameter 'body' is set
|
|
5198
5128
|
if @api_client.config.client_side_validation && body.nil?
|
|
5199
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5129
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_project"
|
|
5200
5130
|
end
|
|
5201
5131
|
# resource path
|
|
5202
5132
|
local_var_path = '/api/v2/llm-obs/v1/projects/{project_id}'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/'))
|
|
@@ -5236,12 +5166,12 @@ module DatadogAPIClient::V2
|
|
|
5236
5166
|
|
|
5237
5167
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
5238
5168
|
if @api_client.config.debugging
|
|
5239
|
-
@api_client.config.logger.debug "API called:
|
|
5169
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5240
5170
|
end
|
|
5241
5171
|
return data, status_code, headers
|
|
5242
5172
|
end
|
|
5243
5173
|
|
|
5244
|
-
# Update an
|
|
5174
|
+
# Update an Agent Observability prompt.
|
|
5245
5175
|
#
|
|
5246
5176
|
# @see #update_llm_obs_prompt_with_http_info
|
|
5247
5177
|
def update_llm_obs_prompt(prompt_id, body, opts = {})
|
|
@@ -5249,11 +5179,11 @@ module DatadogAPIClient::V2
|
|
|
5249
5179
|
data
|
|
5250
5180
|
end
|
|
5251
5181
|
|
|
5252
|
-
# Update an
|
|
5182
|
+
# Update an Agent Observability prompt.
|
|
5253
5183
|
#
|
|
5254
|
-
# Update the title, the description, or both, for an
|
|
5184
|
+
# Update the title, the description, or both, for an Agent Observability prompt.
|
|
5255
5185
|
#
|
|
5256
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
5186
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
5257
5187
|
# @param body [LLMObsUpdatePromptRequest] Update prompt payload.
|
|
5258
5188
|
# @param opts [Hash] the optional parameters
|
|
5259
5189
|
# @return [Array<(LLMObsPromptResponse, Integer, Hash)>] LLMObsPromptResponse data, response status code and response headers
|
|
@@ -5266,15 +5196,15 @@ module DatadogAPIClient::V2
|
|
|
5266
5196
|
end
|
|
5267
5197
|
|
|
5268
5198
|
if @api_client.config.debugging
|
|
5269
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5199
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_prompt ...'
|
|
5270
5200
|
end
|
|
5271
5201
|
# verify the required parameter 'prompt_id' is set
|
|
5272
5202
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
5273
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
5203
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.update_llm_obs_prompt"
|
|
5274
5204
|
end
|
|
5275
5205
|
# verify the required parameter 'body' is set
|
|
5276
5206
|
if @api_client.config.client_side_validation && body.nil?
|
|
5277
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5207
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_prompt"
|
|
5278
5208
|
end
|
|
5279
5209
|
# resource path
|
|
5280
5210
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/'))
|
|
@@ -5314,12 +5244,12 @@ module DatadogAPIClient::V2
|
|
|
5314
5244
|
|
|
5315
5245
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
5316
5246
|
if @api_client.config.debugging
|
|
5317
|
-
@api_client.config.logger.debug "API called:
|
|
5247
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5318
5248
|
end
|
|
5319
5249
|
return data, status_code, headers
|
|
5320
5250
|
end
|
|
5321
5251
|
|
|
5322
|
-
# Update
|
|
5252
|
+
# Update an Agent Observability prompt version.
|
|
5323
5253
|
#
|
|
5324
5254
|
# @see #update_llm_obs_prompt_version_with_http_info
|
|
5325
5255
|
def update_llm_obs_prompt_version(prompt_id, version, body, opts = {})
|
|
@@ -5327,12 +5257,12 @@ module DatadogAPIClient::V2
|
|
|
5327
5257
|
data
|
|
5328
5258
|
end
|
|
5329
5259
|
|
|
5330
|
-
# Update
|
|
5260
|
+
# Update an Agent Observability prompt version.
|
|
5331
5261
|
#
|
|
5332
|
-
# Update the description, the feature-flag environments, or both, for a specific version of an
|
|
5262
|
+
# Update the description, the feature-flag environments, or both, for a specific version of an Agent Observability prompt.
|
|
5333
5263
|
#
|
|
5334
|
-
# @param prompt_id [String] The customer-provided identifier of the
|
|
5335
|
-
# @param version [Integer] The version number of the
|
|
5264
|
+
# @param prompt_id [String] The customer-provided identifier of the Agent Observability prompt.
|
|
5265
|
+
# @param version [Integer] The version number of the Agent Observability prompt.
|
|
5336
5266
|
# @param body [LLMObsUpdatePromptVersionRequest] Update prompt version payload.
|
|
5337
5267
|
# @param opts [Hash] the optional parameters
|
|
5338
5268
|
# @return [Array<(LLMObsPromptVersionResponse, Integer, Hash)>] LLMObsPromptVersionResponse data, response status code and response headers
|
|
@@ -5345,22 +5275,22 @@ module DatadogAPIClient::V2
|
|
|
5345
5275
|
end
|
|
5346
5276
|
|
|
5347
5277
|
if @api_client.config.debugging
|
|
5348
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5278
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.update_llm_obs_prompt_version ...'
|
|
5349
5279
|
end
|
|
5350
5280
|
# verify the required parameter 'prompt_id' is set
|
|
5351
5281
|
if @api_client.config.client_side_validation && prompt_id.nil?
|
|
5352
|
-
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling
|
|
5282
|
+
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling AgentObservabilityAPI.update_llm_obs_prompt_version"
|
|
5353
5283
|
end
|
|
5354
5284
|
# verify the required parameter 'version' is set
|
|
5355
5285
|
if @api_client.config.client_side_validation && version.nil?
|
|
5356
|
-
fail ArgumentError, "Missing the required parameter 'version' when calling
|
|
5286
|
+
fail ArgumentError, "Missing the required parameter 'version' when calling AgentObservabilityAPI.update_llm_obs_prompt_version"
|
|
5357
5287
|
end
|
|
5358
5288
|
if @api_client.config.client_side_validation && version < 1
|
|
5359
|
-
fail ArgumentError, 'invalid value for "version" when calling
|
|
5289
|
+
fail ArgumentError, 'invalid value for "version" when calling AgentObservabilityAPI.update_llm_obs_prompt_version, must be greater than or equal to 1.'
|
|
5360
5290
|
end
|
|
5361
5291
|
# verify the required parameter 'body' is set
|
|
5362
5292
|
if @api_client.config.client_side_validation && body.nil?
|
|
5363
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5293
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.update_llm_obs_prompt_version"
|
|
5364
5294
|
end
|
|
5365
5295
|
# resource path
|
|
5366
5296
|
local_var_path = '/api/v2/llm-obs/v1/prompts/{prompt_id}/versions/{version}'.sub('{prompt_id}', CGI.escape(prompt_id.to_s).gsub('%2F', '/')).sub('{version}', CGI.escape(version.to_s).gsub('%2F', '/'))
|
|
@@ -5400,12 +5330,12 @@ module DatadogAPIClient::V2
|
|
|
5400
5330
|
|
|
5401
5331
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
|
5402
5332
|
if @api_client.config.debugging
|
|
5403
|
-
@api_client.config.logger.debug "API called:
|
|
5333
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#update_llm_obs_prompt_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5404
5334
|
end
|
|
5405
5335
|
return data, status_code, headers
|
|
5406
5336
|
end
|
|
5407
5337
|
|
|
5408
|
-
# Upload records to an
|
|
5338
|
+
# Upload records to an Agent Observability dataset.
|
|
5409
5339
|
#
|
|
5410
5340
|
# @see #upload_llm_obs_dataset_records_file_with_http_info
|
|
5411
5341
|
def upload_llm_obs_dataset_records_file(project_id, dataset_id, opts = {})
|
|
@@ -5413,7 +5343,7 @@ module DatadogAPIClient::V2
|
|
|
5413
5343
|
nil
|
|
5414
5344
|
end
|
|
5415
5345
|
|
|
5416
|
-
# Upload records to an
|
|
5346
|
+
# Upload records to an Agent Observability dataset.
|
|
5417
5347
|
#
|
|
5418
5348
|
# Upload records to a dataset from a file. The request is a `multipart/form-data` upload containing a single `file` part.
|
|
5419
5349
|
# Currently only CSV is supported. The CSV must include an `input` column. Optional columns are `id`, `expected_output`, `metadata`, and `tags`.
|
|
@@ -5423,8 +5353,8 @@ module DatadogAPIClient::V2
|
|
|
5423
5353
|
# - `completed`: terminal event with a JSON body containing `records_created`.
|
|
5424
5354
|
# - `error`: terminal event with a JSON body containing an error `message`.
|
|
5425
5355
|
#
|
|
5426
|
-
# @param project_id [String] The ID of the
|
|
5427
|
-
# @param dataset_id [String] The ID of the
|
|
5356
|
+
# @param project_id [String] The ID of the Agent Observability project.
|
|
5357
|
+
# @param dataset_id [String] The ID of the Agent Observability dataset.
|
|
5428
5358
|
# @param opts [Hash] the optional parameters
|
|
5429
5359
|
# @option opts [Boolean] :deduplicate Whether to skip records whose `input` already exists in the dataset. Defaults to `false`.
|
|
5430
5360
|
# @option opts [Boolean] :overwrite Whether to overwrite existing records that share the same user-provided `id`. Defaults to `true`.
|
|
@@ -5441,15 +5371,15 @@ module DatadogAPIClient::V2
|
|
|
5441
5371
|
end
|
|
5442
5372
|
|
|
5443
5373
|
if @api_client.config.debugging
|
|
5444
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5374
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.upload_llm_obs_dataset_records_file ...'
|
|
5445
5375
|
end
|
|
5446
5376
|
# verify the required parameter 'project_id' is set
|
|
5447
5377
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
5448
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling
|
|
5378
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling AgentObservabilityAPI.upload_llm_obs_dataset_records_file"
|
|
5449
5379
|
end
|
|
5450
5380
|
# verify the required parameter 'dataset_id' is set
|
|
5451
5381
|
if @api_client.config.client_side_validation && dataset_id.nil?
|
|
5452
|
-
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling
|
|
5382
|
+
fail ArgumentError, "Missing the required parameter 'dataset_id' when calling AgentObservabilityAPI.upload_llm_obs_dataset_records_file"
|
|
5453
5383
|
end
|
|
5454
5384
|
# resource path
|
|
5455
5385
|
local_var_path = '/api/v2/llm-obs/v2/{project_id}/datasets/{dataset_id}/records/upload'.sub('{project_id}', CGI.escape(project_id.to_s).gsub('%2F', '/')).sub('{dataset_id}', CGI.escape(dataset_id.to_s).gsub('%2F', '/'))
|
|
@@ -5495,7 +5425,7 @@ module DatadogAPIClient::V2
|
|
|
5495
5425
|
|
|
5496
5426
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
5497
5427
|
if @api_client.config.debugging
|
|
5498
|
-
@api_client.config.logger.debug "API called:
|
|
5428
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#upload_llm_obs_dataset_records_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5499
5429
|
end
|
|
5500
5430
|
return data, status_code, headers
|
|
5501
5431
|
end
|
|
@@ -5514,8 +5444,9 @@ module DatadogAPIClient::V2
|
|
|
5514
5444
|
# by `interaction_id` and the requesting user's identity.
|
|
5515
5445
|
# Results and errors in the response are linked to request items by `interaction_id`.
|
|
5516
5446
|
# Errors for individual items are returned in the `errors` field without blocking the rest of the batch.
|
|
5447
|
+
# Requests where every item is denied by queue access rules return `403`.
|
|
5517
5448
|
#
|
|
5518
|
-
# @param queue_id [String] The ID of the
|
|
5449
|
+
# @param queue_id [String] The ID of the Agent Observability annotation queue.
|
|
5519
5450
|
# @param body [LLMObsAnnotationsRequest] Payload for creating or updating annotations.
|
|
5520
5451
|
# @param opts [Hash] the optional parameters
|
|
5521
5452
|
# @return [Array<(LLMObsAnnotationsResponse, Integer, Hash)>] LLMObsAnnotationsResponse data, response status code and response headers
|
|
@@ -5528,15 +5459,15 @@ module DatadogAPIClient::V2
|
|
|
5528
5459
|
end
|
|
5529
5460
|
|
|
5530
5461
|
if @api_client.config.debugging
|
|
5531
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5462
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.upsert_llm_obs_annotations ...'
|
|
5532
5463
|
end
|
|
5533
5464
|
# verify the required parameter 'queue_id' is set
|
|
5534
5465
|
if @api_client.config.client_side_validation && queue_id.nil?
|
|
5535
|
-
fail ArgumentError, "Missing the required parameter 'queue_id' when calling
|
|
5466
|
+
fail ArgumentError, "Missing the required parameter 'queue_id' when calling AgentObservabilityAPI.upsert_llm_obs_annotations"
|
|
5536
5467
|
end
|
|
5537
5468
|
# verify the required parameter 'body' is set
|
|
5538
5469
|
if @api_client.config.client_side_validation && body.nil?
|
|
5539
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5470
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.upsert_llm_obs_annotations"
|
|
5540
5471
|
end
|
|
5541
5472
|
# resource path
|
|
5542
5473
|
local_var_path = '/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotations'.sub('{queue_id}', CGI.escape(queue_id.to_s).gsub('%2F', '/'))
|
|
@@ -5576,7 +5507,7 @@ module DatadogAPIClient::V2
|
|
|
5576
5507
|
|
|
5577
5508
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
|
5578
5509
|
if @api_client.config.debugging
|
|
5579
|
-
@api_client.config.logger.debug "API called:
|
|
5510
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#upsert_llm_obs_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5580
5511
|
end
|
|
5581
5512
|
return data, status_code, headers
|
|
5582
5513
|
end
|
|
@@ -5605,11 +5536,11 @@ module DatadogAPIClient::V2
|
|
|
5605
5536
|
end
|
|
5606
5537
|
|
|
5607
5538
|
if @api_client.config.debugging
|
|
5608
|
-
@api_client.config.logger.debug 'Calling API:
|
|
5539
|
+
@api_client.config.logger.debug 'Calling API: AgentObservabilityAPI.upsert_llm_obs_patterns_config ...'
|
|
5609
5540
|
end
|
|
5610
5541
|
# verify the required parameter 'body' is set
|
|
5611
5542
|
if @api_client.config.client_side_validation && body.nil?
|
|
5612
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
|
5543
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AgentObservabilityAPI.upsert_llm_obs_patterns_config"
|
|
5613
5544
|
end
|
|
5614
5545
|
# resource path
|
|
5615
5546
|
local_var_path = '/api/v2/llm-obs/v1/topic-discovery-configs'
|
|
@@ -5649,7 +5580,7 @@ module DatadogAPIClient::V2
|
|
|
5649
5580
|
|
|
5650
5581
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
|
5651
5582
|
if @api_client.config.debugging
|
|
5652
|
-
@api_client.config.logger.debug "API called:
|
|
5583
|
+
@api_client.config.logger.debug "API called: AgentObservabilityAPI#upsert_llm_obs_patterns_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5653
5584
|
end
|
|
5654
5585
|
return data, status_code, headers
|
|
5655
5586
|
end
|