From 7f30e0e081b449328d6f550b29244ab8a2b75cd2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 21 Apr 2026 21:26:46 +0000 Subject: [PATCH] Regenerate client from commit cd01e75 of spec repo --- .generator/schemas/v2/openapi.yaml | 94 +++++-------------- .../v2/api/llm_observability_api.py | 4 +- .../v2/api/security_monitoring_api.py | 19 ++-- .../llm_obs_annotated_interaction_item.py | 2 +- ...m_obs_annotation_queue_interaction_item.py | 2 +- ...otation_queue_interaction_response_item.py | 2 +- .../v2/model/llm_obs_interaction_type.py | 5 +- ...rity_monitoring_content_pack_activation.py | 2 +- ...itoring_content_pack_integration_status.py | 2 +- ...onitoring_content_pack_state_attributes.py | 13 ++- ...rity_monitoring_content_pack_state_meta.py | 2 +- ...security_monitoring_content_pack_status.py | 2 +- ...onitoring_content_pack_timestamp_bucket.py | 2 +- .../v2/model/security_monitoring_sku.py | 2 +- 14 files changed, 52 insertions(+), 101 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 040612a150..cc7c741d96 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -37853,7 +37853,7 @@ components: $ref: "#/components/schemas/LLMObsAnnotationItem" type: array content_id: - description: Identifier of the content for this interaction. + description: Identifier of the content (trace ID or session ID) for this interaction. example: "trace-abc-123" type: string id: @@ -38052,7 +38052,7 @@ components: description: A single interaction to add to an annotation queue. properties: content_id: - description: Identifier of the content (such as trace ID) for this interaction. + description: Identifier of the content (trace ID or session ID) for this interaction. example: "trace-abc-123" type: string type: @@ -38069,7 +38069,7 @@ components: example: false type: boolean content_id: - description: Identifier of the content for this interaction. + description: Identifier of the content (trace ID or session ID) for this interaction. example: "trace-abc-123" type: string id: @@ -39516,11 +39516,13 @@ components: enum: - trace - experiment_trace + - session example: trace type: string x-enum-varnames: - TRACE - EXPERIMENT_TRACE + - SESSION LLMObsMetricAssessment: description: Assessment result for an LLM Observability experiment metric. enum: @@ -62654,23 +62656,19 @@ components: - DONE - TIMEOUT SecurityMonitoringContentPackActivation: - description: The activation status of a content pack. + description: The activation status of a content pack enum: - never_activated - activated - deactivated example: activated type: string - x-enum-descriptions: - - Pack has never been activated for this organization. - - Pack is currently activated. - - Pack was previously activated but has since been deactivated. x-enum-varnames: - NEVER_ACTIVATED - ACTIVATED - DEACTIVATED SecurityMonitoringContentPackIntegrationStatus: - description: The installation status of the related integration. + description: The installation status of the related integration enum: - installed - available @@ -62679,12 +62677,6 @@ components: - error example: installed type: string - x-enum-descriptions: - - Integration is fully installed. - - Integration exists in the catalog but is not installed. - - Integration is only partially configured. - - Integration detected (for example, logs are flowing) but not explicitly installed. - - Integration is in an error state. x-enum-varnames: - INSTALLED - AVAILABLE @@ -62701,9 +62693,7 @@ components: cp_activation: $ref: "#/components/schemas/SecurityMonitoringContentPackActivation" filters_configured_for_logs: - description: |- - Whether filters (Security Filters or Index Query depending on the pricing model) are - present and correctly configured to route logs into Cloud SIEM. + description: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs example: true type: boolean integration_installed_status: @@ -62711,7 +62701,7 @@ components: logs_last_collected: $ref: "#/components/schemas/SecurityMonitoringContentPackTimestampBucket" logs_seen_from_any_index: - description: Whether logs for this content pack have been seen in any Datadog index within the last 72 hours. + description: Whether logs have been seen from any index example: true type: boolean state: @@ -62776,7 +62766,7 @@ components: - meta type: object SecurityMonitoringContentPackStatus: - description: The current operational status of a content pack. + description: The current status of a content pack enum: - install - activate @@ -62786,13 +62776,6 @@ components: - broken example: active type: string - x-enum-descriptions: - - Not activated; no logs detected in the last 72 hours. - - Not activated; logs are flowing into a Datadog index but not yet routed through Cloud SIEM. - - Activated; awaiting first log ingestion. - - Activated; logs received within the last 24 hours. - - Activated; integration not installed or logs last seen 24 to 72 hours ago. - - Activated; no logs for over 72 hours, filter missing, or Cloud SIEM index incorrectly ordered. x-enum-varnames: - INSTALL - ACTIVATE @@ -62801,7 +62784,7 @@ components: - WARNING - BROKEN SecurityMonitoringContentPackTimestampBucket: - description: Timestamp bucket indicating when logs were last collected. + description: Timestamp bucket indicating when logs were last collected enum: - not_seen - within_24_hours @@ -62810,12 +62793,6 @@ components: - over_30d example: within_24_hours type: string - x-enum-descriptions: - - No logs observed. - - Logs received within the last 24 hours. - - Logs last seen 24 to 72 hours ago. - - Logs last seen 3 to 30 days ago. - - Logs last seen more than 30 days ago. x-enum-varnames: - NOT_SEEN - WITHIN_24_HOURS @@ -63906,7 +63883,7 @@ components: - $ref: "#/components/schemas/SecurityMonitoringSignalRulePayload" - $ref: "#/components/schemas/CloudConfigurationRulePayload" SecurityMonitoringSKU: - description: The Cloud SIEM pricing model (SKU) for the organization. + description: The SIEM pricing model (SKU) for the organization enum: - per_gb_analyzed - per_event_in_siem_index_2023 @@ -101142,7 +101119,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions: get: - description: Retrieve all interactions and their annotations for a given annotation queue. + description: Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue. operationId: GetLLMObsAnnotatedInteractions parameters: - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" @@ -101191,7 +101168,7 @@ paths: /api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions: post: description: |- - Add one or more interactions (traces) to an annotation queue. + Add one or more interactions (traces or sessions) to an annotation queue. At least one interaction must be provided. operationId: CreateLLMObsAnnotationQueueInteractions parameters: @@ -118729,8 +118706,9 @@ paths: /api/v2/security_monitoring/content_packs/states: get: description: |- - Get the activation state, integration status, and log collection status - for all Cloud SIEM content packs. + Get the activation and configuration states for all security monitoring content packs. + This endpoint returns status information about each content pack including activation state, + integration status, and log collection status. operationId: GetContentPacksStates responses: "200": @@ -118753,31 +118731,21 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - security_monitoring_filters_read summary: Get content pack states tags: - Security Monitoring - "x-permission": - operator: OR - permissions: - - security_monitoring_filters_read - - logs_read_index_data x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/security_monitoring/content_packs/{content_pack_id}/activate: put: description: |- - Activate a Cloud SIEM content pack. This operation configures the necessary + Activate a security monitoring content pack. This operation configures the necessary log filters or security filters depending on the pricing model and updates the content pack activation state. operationId: ActivateContentPack parameters: - - description: The ID of the content pack to activate (for example, `aws-cloudtrail`). + - description: The ID of the content pack to activate. in: path name: content_pack_id required: true @@ -118801,30 +118769,20 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - security_monitoring_filters_write summary: Activate content pack tags: - Security Monitoring - "x-permission": - operator: OR - permissions: - - security_monitoring_filters_write - - logs_modify_indexes x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate: put: description: |- - Deactivate a Cloud SIEM content pack. This operation removes the content pack's + Deactivate a security monitoring content pack. This operation removes the content pack's configuration from log filters or security filters and updates the content pack activation state. operationId: DeactivateContentPack parameters: - - description: The ID of the content pack to deactivate (for example, `aws-cloudtrail`). + - description: The ID of the content pack to deactivate. in: path name: content_pack_id required: true @@ -118848,19 +118806,9 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - security_monitoring_filters_write summary: Deactivate content pack tags: - Security Monitoring - "x-permission": - operator: OR - permissions: - - security_monitoring_filters_write - - logs_modify_indexes x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). diff --git a/src/datadog_api_client/v2/api/llm_observability_api.py b/src/datadog_api_client/v2/api/llm_observability_api.py index 2cb396a694..2facdb3449 100644 --- a/src/datadog_api_client/v2/api/llm_observability_api.py +++ b/src/datadog_api_client/v2/api/llm_observability_api.py @@ -833,7 +833,7 @@ def create_llm_obs_annotation_queue_interactions( ) -> LLMObsAnnotationQueueInteractionsResponse: """Add annotation queue interactions. - Add one or more interactions (traces) to an annotation queue. + Add one or more interactions (traces or sessions) to an annotation queue. At least one interaction must be provided. :param queue_id: The ID of the LLM Observability annotation queue. @@ -1099,7 +1099,7 @@ def get_llm_obs_annotated_interactions( ) -> LLMObsAnnotatedInteractionsResponse: """Get annotated queue interactions. - Retrieve all interactions and their annotations for a given annotation queue. + Retrieve all interactions (traces and sessions) and their annotations for a given annotation queue. :param queue_id: The ID of the LLM Observability annotation queue. :type queue_id: str diff --git a/src/datadog_api_client/v2/api/security_monitoring_api.py b/src/datadog_api_client/v2/api/security_monitoring_api.py index 1ea82d4bcc..fa18b2b9dd 100644 --- a/src/datadog_api_client/v2/api/security_monitoring_api.py +++ b/src/datadog_api_client/v2/api/security_monitoring_api.py @@ -192,7 +192,7 @@ def __init__(self, api_client=None): self._activate_content_pack_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/security_monitoring/content_packs/{content_pack_id}/activate", "operation_id": "activate_content_pack", "http_method": "PUT", @@ -659,7 +659,7 @@ def __init__(self, api_client=None): self._deactivate_content_pack_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate", "operation_id": "deactivate_content_pack", "http_method": "PUT", @@ -1025,7 +1025,7 @@ def __init__(self, api_client=None): self._get_content_packs_states_endpoint = _Endpoint( settings={ "response_type": (SecurityMonitoringContentPackStatesResponse,), - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/security_monitoring/content_packs/states", "operation_id": "get_content_packs_states", "http_method": "GET", @@ -2993,11 +2993,11 @@ def activate_content_pack( ) -> None: """Activate content pack. - Activate a Cloud SIEM content pack. This operation configures the necessary + Activate a security monitoring content pack. This operation configures the necessary log filters or security filters depending on the pricing model and updates the content pack activation state. - :param content_pack_id: The ID of the content pack to activate (for example, ``aws-cloudtrail`` ). + :param content_pack_id: The ID of the content pack to activate. :type content_pack_id: str :rtype: None """ @@ -3417,10 +3417,10 @@ def deactivate_content_pack( ) -> None: """Deactivate content pack. - Deactivate a Cloud SIEM content pack. This operation removes the content pack's + Deactivate a security monitoring content pack. This operation removes the content pack's configuration from log filters or security filters and updates the content pack activation state. - :param content_pack_id: The ID of the content pack to deactivate (for example, ``aws-cloudtrail`` ). + :param content_pack_id: The ID of the content pack to deactivate. :type content_pack_id: str :rtype: None """ @@ -3704,8 +3704,9 @@ def get_content_packs_states( ) -> SecurityMonitoringContentPackStatesResponse: """Get content pack states. - Get the activation state, integration status, and log collection status - for all Cloud SIEM content packs. + Get the activation and configuration states for all security monitoring content packs. + This endpoint returns status information about each content pack including activation state, + integration status, and log collection status. :rtype: SecurityMonitoringContentPackStatesResponse """ diff --git a/src/datadog_api_client/v2/model/llm_obs_annotated_interaction_item.py b/src/datadog_api_client/v2/model/llm_obs_annotated_interaction_item.py index 02da163588..0658ec11e3 100644 --- a/src/datadog_api_client/v2/model/llm_obs_annotated_interaction_item.py +++ b/src/datadog_api_client/v2/model/llm_obs_annotated_interaction_item.py @@ -45,7 +45,7 @@ def __init__( :param annotations: List of annotations for this interaction. :type annotations: [LLMObsAnnotationItem] - :param content_id: Identifier of the content for this interaction. + :param content_id: Identifier of the content (trace ID or session ID) for this interaction. :type content_id: str :param id: Unique identifier of the interaction. diff --git a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_item.py b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_item.py index 84f0311147..a937764106 100644 --- a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_item.py +++ b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_item.py @@ -34,7 +34,7 @@ def __init__(self_, content_id: str, type: LLMObsInteractionType, **kwargs): """ A single interaction to add to an annotation queue. - :param content_id: Identifier of the content (such as trace ID) for this interaction. + :param content_id: Identifier of the content (trace ID or session ID) for this interaction. :type content_id: str :param type: Type of interaction in an annotation queue. diff --git a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_response_item.py b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_response_item.py index 55cf532e6b..d072f262ab 100644 --- a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_response_item.py +++ b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_interaction_response_item.py @@ -41,7 +41,7 @@ def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMOb :param already_existed: Whether this interaction already existed in the queue. :type already_existed: bool - :param content_id: Identifier of the content for this interaction. + :param content_id: Identifier of the content (trace ID or session ID) for this interaction. :type content_id: str :param id: Unique identifier of the interaction. diff --git a/src/datadog_api_client/v2/model/llm_obs_interaction_type.py b/src/datadog_api_client/v2/model/llm_obs_interaction_type.py index af43da7b21..ba7a9f53ba 100644 --- a/src/datadog_api_client/v2/model/llm_obs_interaction_type.py +++ b/src/datadog_api_client/v2/model/llm_obs_interaction_type.py @@ -16,16 +16,18 @@ class LLMObsInteractionType(ModelSimple): """ Type of interaction in an annotation queue. - :param value: Must be one of ["trace", "experiment_trace"]. + :param value: Must be one of ["trace", "experiment_trace", "session"]. :type value: str """ allowed_values = { "trace", "experiment_trace", + "session", } TRACE: ClassVar["LLMObsInteractionType"] EXPERIMENT_TRACE: ClassVar["LLMObsInteractionType"] + SESSION: ClassVar["LLMObsInteractionType"] @cached_property def openapi_types(_): @@ -36,3 +38,4 @@ def openapi_types(_): LLMObsInteractionType.TRACE = LLMObsInteractionType("trace") LLMObsInteractionType.EXPERIMENT_TRACE = LLMObsInteractionType("experiment_trace") +LLMObsInteractionType.SESSION = LLMObsInteractionType("session") diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_activation.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_activation.py index d6fd274f87..735b621113 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_activation.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_activation.py @@ -14,7 +14,7 @@ class SecurityMonitoringContentPackActivation(ModelSimple): """ - The activation status of a content pack. + The activation status of a content pack :param value: Must be one of ["never_activated", "activated", "deactivated"]. :type value: str diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_integration_status.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_integration_status.py index 67490be7f2..50ce284b88 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_integration_status.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_integration_status.py @@ -14,7 +14,7 @@ class SecurityMonitoringContentPackIntegrationStatus(ModelSimple): """ - The installation status of the related integration. + The installation status of the related integration :param value: Must be one of ["installed", "available", "partially_installed", "detected", "error"]. :type value: str diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_attributes.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_attributes.py index 4f9946a2d3..ed09ca55db 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_attributes.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_attributes.py @@ -79,23 +79,22 @@ def __init__( :param cloud_siem_index_incorrect: Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models) :type cloud_siem_index_incorrect: bool - :param cp_activation: The activation status of a content pack. + :param cp_activation: The activation status of a content pack :type cp_activation: SecurityMonitoringContentPackActivation - :param filters_configured_for_logs: Whether filters (Security Filters or Index Query depending on the pricing model) are - present and correctly configured to route logs into Cloud SIEM. + :param filters_configured_for_logs: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs :type filters_configured_for_logs: bool - :param integration_installed_status: The installation status of the related integration. + :param integration_installed_status: The installation status of the related integration :type integration_installed_status: SecurityMonitoringContentPackIntegrationStatus, optional - :param logs_last_collected: Timestamp bucket indicating when logs were last collected. + :param logs_last_collected: Timestamp bucket indicating when logs were last collected :type logs_last_collected: SecurityMonitoringContentPackTimestampBucket - :param logs_seen_from_any_index: Whether logs for this content pack have been seen in any Datadog index within the last 72 hours. + :param logs_seen_from_any_index: Whether logs have been seen from any index :type logs_seen_from_any_index: bool - :param state: The current operational status of a content pack. + :param state: The current status of a content pack :type state: SecurityMonitoringContentPackStatus """ if integration_installed_status is not unset: diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_meta.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_meta.py index 4f37a6b107..3b9aac7ffc 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_meta.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_state_meta.py @@ -37,7 +37,7 @@ def __init__(self_, cloud_siem_index_incorrect: bool, sku: SecurityMonitoringSKU :param cloud_siem_index_incorrect: Whether the cloud SIEM index configuration is incorrect at the organization level :type cloud_siem_index_incorrect: bool - :param sku: The Cloud SIEM pricing model (SKU) for the organization. + :param sku: The SIEM pricing model (SKU) for the organization :type sku: SecurityMonitoringSKU """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_status.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_status.py index efdcbe2da7..a8f83bec1d 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_status.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_status.py @@ -14,7 +14,7 @@ class SecurityMonitoringContentPackStatus(ModelSimple): """ - The current operational status of a content pack. + The current status of a content pack :param value: Must be one of ["install", "activate", "initializing", "active", "warning", "broken"]. :type value: str diff --git a/src/datadog_api_client/v2/model/security_monitoring_content_pack_timestamp_bucket.py b/src/datadog_api_client/v2/model/security_monitoring_content_pack_timestamp_bucket.py index cfec617fb5..672ce48dcd 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_content_pack_timestamp_bucket.py +++ b/src/datadog_api_client/v2/model/security_monitoring_content_pack_timestamp_bucket.py @@ -14,7 +14,7 @@ class SecurityMonitoringContentPackTimestampBucket(ModelSimple): """ - Timestamp bucket indicating when logs were last collected. + Timestamp bucket indicating when logs were last collected :param value: Must be one of ["not_seen", "within_24_hours", "within_24_to_72_hours", "over_72h_to_30d", "over_30d"]. :type value: str diff --git a/src/datadog_api_client/v2/model/security_monitoring_sku.py b/src/datadog_api_client/v2/model/security_monitoring_sku.py index 4abab4f991..82a8815a64 100644 --- a/src/datadog_api_client/v2/model/security_monitoring_sku.py +++ b/src/datadog_api_client/v2/model/security_monitoring_sku.py @@ -14,7 +14,7 @@ class SecurityMonitoringSKU(ModelSimple): """ - The Cloud SIEM pricing model (SKU) for the organization. + The SIEM pricing model (SKU) for the organization :param value: Must be one of ["per_gb_analyzed", "per_event_in_siem_index_2023", "add_on_2024"]. :type value: str