From 6554ee82c03f7e4923d8ec01636515de5e0938f0 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 13 Nov 2026 08:32:29 +0000 Subject: [PATCH] Regenerate client from commit 1f305c9 of spec repo --- .generator/schemas/v2/openapi.yaml | 27 +++++++++++++------ .../v2/api/error_tracking_api.py | 3 ++- .../issues_search_request_data_attributes.py | 8 +++--- ...search_request_data_attributes_order_by.py | 9 +++++-- ..._search_request_data_attributes_persona.py | 8 ++++-- ...es_search_request_data_attributes_track.py | 8 ++++-- .../model/issues_search_result_attributes.py | 4 +-- 7 files changed, 47 insertions(+), 20 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dcfb4f81ce..256e3e6b4f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -75708,12 +75708,14 @@ components: - to type: object IssuesSearchRequestDataAttributesOrderBy: - description: The attribute to sort the search results by. + description: |- + The attribute to sort the search results by, in descending order. Defaults to `TOTAL_COUNT`. enum: - TOTAL_COUNT - FIRST_SEEN - IMPACTED_SESSIONS - PRIORITY + - IMPACTED_ACCOUNTS example: "IMPACTED_SESSIONS" type: string x-enum-varnames: @@ -75721,9 +75723,12 @@ components: - FIRST_SEEN - IMPACTED_SESSIONS - PRIORITY + - IMPACTED_ACCOUNTS IssuesSearchRequestDataAttributesPersona: - description: Persona for the search. Either track(s) or persona(s) must be specified. - enum: ["ALL", "BROWSER", "MOBILE", "BACKEND"] + description: |- + Persona for the search. Either `track` or `persona` must be specified. + Ignored if `track` is specified. + enum: ["ALL", "BROWSER", "MOBILE", "BACKEND", "AGENT"] example: "BACKEND" type: string x-enum-varnames: @@ -75731,15 +75736,19 @@ components: - BROWSER - MOBILE - BACKEND + - AGENT IssuesSearchRequestDataAttributesTrack: - description: Track of the events to query. Either track(s) or persona(s) must be specified. - enum: ["trace", "logs", "rum"] + description: |- + Track of the events to query. Either `track` or `persona` must be specified. + If both are specified, `persona` is ignored. + enum: ["trace", "logs", "rum", "llmobs"] example: "trace" type: string x-enum-varnames: - TRACE - LOGS - RUM + - LLMOBS IssuesSearchRequestDataType: description: Type of the object. enum: ["search_request"] @@ -75785,7 +75794,7 @@ components: impacted_sessions: description: |- Count of sessions impacted by the issue over the queried time window. - Returned for RUM, LLM Observability, browser, and mobile searches, + Returned for RUM and LLM Observability tracks, for browser, mobile, and agent personas, or when `issue.impacted_sessions` is requested in the `include` query parameter. Omitted when zero unless requested in the `include` query parameter. example: 12 @@ -75794,7 +75803,7 @@ components: impacted_users: description: |- Count of users impacted by the issue over the queried time window. - Returned for RUM, browser, and mobile searches, + Returned for the RUM track, for browser and mobile personas, or when `issue.impacted_users` is requested in the `include` query parameter. Omitted when zero unless requested in the `include` query parameter. example: 4 @@ -181593,7 +181602,9 @@ paths: - monitors_downtime /api/v2/error-tracking/issues/search: post: - description: Search issues endpoint allows you to programmatically search for issues within your organization. This endpoint returns a list of issues that match a given search query, following the event search syntax. The search results are limited to a maximum of 100 issues per request. + description: |- + Search issues endpoint allows you to programmatically search for issues within your organization. This endpoint returns a list of issues that match a given search query, following the event search syntax. The search results are limited to a maximum of 100 issues per issue state. + Returns 400 if neither `track` nor `persona` is specified, or if a `team_ids` value does not match an existing team. operationId: SearchIssues parameters: - $ref: "#/components/parameters/SearchIssuesIncludeQueryParameter" diff --git a/src/datadog_api_client/v2/api/error_tracking_api.py b/src/datadog_api_client/v2/api/error_tracking_api.py index 2f8753e226..6f188b874a 100644 --- a/src/datadog_api_client/v2/api/error_tracking_api.py +++ b/src/datadog_api_client/v2/api/error_tracking_api.py @@ -225,7 +225,8 @@ def search_issues( ) -> IssuesSearchResponse: """Search error tracking issues. - Search issues endpoint allows you to programmatically search for issues within your organization. This endpoint returns a list of issues that match a given search query, following the event search syntax. The search results are limited to a maximum of 100 issues per request. + Search issues endpoint allows you to programmatically search for issues within your organization. This endpoint returns a list of issues that match a given search query, following the event search syntax. The search results are limited to a maximum of 100 issues per issue state. + Returns 400 if neither ``track`` nor ``persona`` is specified, or if a ``team_ids`` value does not match an existing team. :param body: Search issues request payload. :type body: IssuesSearchRequest diff --git a/src/datadog_api_client/v2/model/issues_search_request_data_attributes.py b/src/datadog_api_client/v2/model/issues_search_request_data_attributes.py index c8dd54813c..70356e09fd 100644 --- a/src/datadog_api_client/v2/model/issues_search_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/issues_search_request_data_attributes.py @@ -99,10 +99,11 @@ def __init__( :param _from: Start date (inclusive) of the query in milliseconds since the Unix epoch. :type _from: int - :param order_by: The attribute to sort the search results by. + :param order_by: The attribute to sort the search results by, in descending order. Defaults to ``TOTAL_COUNT``. :type order_by: IssuesSearchRequestDataAttributesOrderBy, optional - :param persona: Persona for the search. Either track(s) or persona(s) must be specified. + :param persona: Persona for the search. Either ``track`` or ``persona`` must be specified. + Ignored if ``track`` is specified. :type persona: IssuesSearchRequestDataAttributesPersona, optional :param query: Search query following the event search syntax. @@ -117,7 +118,8 @@ def __init__( :param to: End date (exclusive) of the query in milliseconds since the Unix epoch. :type to: int - :param track: Track of the events to query. Either track(s) or persona(s) must be specified. + :param track: Track of the events to query. Either ``track`` or ``persona`` must be specified. + If both are specified, ``persona`` is ignored. :type track: IssuesSearchRequestDataAttributesTrack, optional """ if assignee_ids is not unset: diff --git a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_order_by.py b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_order_by.py index c1f3be42b5..b5aa22108d 100644 --- a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_order_by.py +++ b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_order_by.py @@ -14,9 +14,9 @@ class IssuesSearchRequestDataAttributesOrderBy(ModelSimple): """ - The attribute to sort the search results by. + The attribute to sort the search results by, in descending order. Defaults to `TOTAL_COUNT`. - :param value: Must be one of ["TOTAL_COUNT", "FIRST_SEEN", "IMPACTED_SESSIONS", "PRIORITY"]. + :param value: Must be one of ["TOTAL_COUNT", "FIRST_SEEN", "IMPACTED_SESSIONS", "PRIORITY", "IMPACTED_ACCOUNTS"]. :type value: str """ @@ -25,11 +25,13 @@ class IssuesSearchRequestDataAttributesOrderBy(ModelSimple): "FIRST_SEEN", "IMPACTED_SESSIONS", "PRIORITY", + "IMPACTED_ACCOUNTS", } TOTAL_COUNT: ClassVar["IssuesSearchRequestDataAttributesOrderBy"] FIRST_SEEN: ClassVar["IssuesSearchRequestDataAttributesOrderBy"] IMPACTED_SESSIONS: ClassVar["IssuesSearchRequestDataAttributesOrderBy"] PRIORITY: ClassVar["IssuesSearchRequestDataAttributesOrderBy"] + IMPACTED_ACCOUNTS: ClassVar["IssuesSearchRequestDataAttributesOrderBy"] @cached_property def openapi_types(_): @@ -44,3 +46,6 @@ def openapi_types(_): "IMPACTED_SESSIONS" ) IssuesSearchRequestDataAttributesOrderBy.PRIORITY = IssuesSearchRequestDataAttributesOrderBy("PRIORITY") +IssuesSearchRequestDataAttributesOrderBy.IMPACTED_ACCOUNTS = IssuesSearchRequestDataAttributesOrderBy( + "IMPACTED_ACCOUNTS" +) diff --git a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_persona.py b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_persona.py index ade2d6cfaf..0e88a405ea 100644 --- a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_persona.py +++ b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_persona.py @@ -14,9 +14,10 @@ class IssuesSearchRequestDataAttributesPersona(ModelSimple): """ - Persona for the search. Either track(s) or persona(s) must be specified. + Persona for the search. Either `track` or `persona` must be specified. + Ignored if `track` is specified. - :param value: Must be one of ["ALL", "BROWSER", "MOBILE", "BACKEND"]. + :param value: Must be one of ["ALL", "BROWSER", "MOBILE", "BACKEND", "AGENT"]. :type value: str """ @@ -25,11 +26,13 @@ class IssuesSearchRequestDataAttributesPersona(ModelSimple): "BROWSER", "MOBILE", "BACKEND", + "AGENT", } ALL: ClassVar["IssuesSearchRequestDataAttributesPersona"] BROWSER: ClassVar["IssuesSearchRequestDataAttributesPersona"] MOBILE: ClassVar["IssuesSearchRequestDataAttributesPersona"] BACKEND: ClassVar["IssuesSearchRequestDataAttributesPersona"] + AGENT: ClassVar["IssuesSearchRequestDataAttributesPersona"] @cached_property def openapi_types(_): @@ -42,3 +45,4 @@ def openapi_types(_): IssuesSearchRequestDataAttributesPersona.BROWSER = IssuesSearchRequestDataAttributesPersona("BROWSER") IssuesSearchRequestDataAttributesPersona.MOBILE = IssuesSearchRequestDataAttributesPersona("MOBILE") IssuesSearchRequestDataAttributesPersona.BACKEND = IssuesSearchRequestDataAttributesPersona("BACKEND") +IssuesSearchRequestDataAttributesPersona.AGENT = IssuesSearchRequestDataAttributesPersona("AGENT") diff --git a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_track.py b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_track.py index e0383d3ecc..dd9dbbf079 100644 --- a/src/datadog_api_client/v2/model/issues_search_request_data_attributes_track.py +++ b/src/datadog_api_client/v2/model/issues_search_request_data_attributes_track.py @@ -14,9 +14,10 @@ class IssuesSearchRequestDataAttributesTrack(ModelSimple): """ - Track of the events to query. Either track(s) or persona(s) must be specified. + Track of the events to query. Either `track` or `persona` must be specified. + If both are specified, `persona` is ignored. - :param value: Must be one of ["trace", "logs", "rum"]. + :param value: Must be one of ["trace", "logs", "rum", "llmobs"]. :type value: str """ @@ -24,10 +25,12 @@ class IssuesSearchRequestDataAttributesTrack(ModelSimple): "trace", "logs", "rum", + "llmobs", } TRACE: ClassVar["IssuesSearchRequestDataAttributesTrack"] LOGS: ClassVar["IssuesSearchRequestDataAttributesTrack"] RUM: ClassVar["IssuesSearchRequestDataAttributesTrack"] + LLMOBS: ClassVar["IssuesSearchRequestDataAttributesTrack"] @cached_property def openapi_types(_): @@ -39,3 +42,4 @@ def openapi_types(_): IssuesSearchRequestDataAttributesTrack.TRACE = IssuesSearchRequestDataAttributesTrack("trace") IssuesSearchRequestDataAttributesTrack.LOGS = IssuesSearchRequestDataAttributesTrack("logs") IssuesSearchRequestDataAttributesTrack.RUM = IssuesSearchRequestDataAttributesTrack("rum") +IssuesSearchRequestDataAttributesTrack.LLMOBS = IssuesSearchRequestDataAttributesTrack("llmobs") diff --git a/src/datadog_api_client/v2/model/issues_search_result_attributes.py b/src/datadog_api_client/v2/model/issues_search_result_attributes.py index 04dfd918d2..c2106d6375 100644 --- a/src/datadog_api_client/v2/model/issues_search_result_attributes.py +++ b/src/datadog_api_client/v2/model/issues_search_result_attributes.py @@ -39,13 +39,13 @@ def __init__( Object containing the information of a search result. :param impacted_sessions: Count of sessions impacted by the issue over the queried time window. - Returned for RUM, LLM Observability, browser, and mobile searches, + Returned for RUM and LLM Observability tracks, for browser, mobile, and agent personas, or when ``issue.impacted_sessions`` is requested in the ``include`` query parameter. Omitted when zero unless requested in the ``include`` query parameter. :type impacted_sessions: int, optional :param impacted_users: Count of users impacted by the issue over the queried time window. - Returned for RUM, browser, and mobile searches, + Returned for the RUM track, for browser and mobile personas, or when ``issue.impacted_users`` is requested in the ``include`` query parameter. Omitted when zero unless requested in the ``include`` query parameter. :type impacted_users: int, optional