From 9645a13c89b8a0ee39dd24fc2a498bc136c685ff Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 12 May 2026 08:48:28 +0000 Subject: [PATCH] Regenerate client from commit 0376235 of spec repo --- .generator/schemas/v2/openapi.yaml | 24 +++++++++++++++++++ .../llm_obs_annotated_interaction_item.py | 22 ++++++++++++++++- ...otation_queue_interaction_response_item.py | 24 ++++++++++++++++++- 3 files changed, 68 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a04387a688..308ba57b71 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38266,16 +38266,28 @@ components: description: Identifier of the content (trace ID or session ID) for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "interaction-456" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: - id - type - content_id + - created_at + - modified_at - annotations type: object LLMObsAnnotatedInteractionsDataAttributesResponse: @@ -38486,10 +38498,20 @@ components: description: Identifier of the content (trace ID or session ID) for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "00000000-0000-0000-0000-000000000000" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: @@ -38497,6 +38519,8 @@ components: - type - content_id - already_existed + - created_at + - modified_at type: object LLMObsAnnotationQueueInteractionsDataAttributesRequest: description: Attributes for adding interactions to an annotation queue. 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 0658ec11e3..c543956d0b 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 @@ -8,6 +8,7 @@ from datadog_api_client.model_utils import ( ModelNormal, cached_property, + datetime, ) @@ -25,19 +26,30 @@ def openapi_types(_): return { "annotations": ([LLMObsAnnotationItem],), "content_id": (str,), + "created_at": (datetime,), "id": (str,), + "modified_at": (datetime,), "type": (LLMObsInteractionType,), } attribute_map = { "annotations": "annotations", "content_id": "content_id", + "created_at": "created_at", "id": "id", + "modified_at": "modified_at", "type": "type", } def __init__( - self_, annotations: List[LLMObsAnnotationItem], content_id: str, id: str, type: LLMObsInteractionType, **kwargs + self_, + annotations: List[LLMObsAnnotationItem], + content_id: str, + created_at: datetime, + id: str, + modified_at: datetime, + type: LLMObsInteractionType, + **kwargs, ): """ An interaction with its associated annotations. @@ -48,9 +60,15 @@ def __init__( :param content_id: Identifier of the content (trace ID or session ID) for this interaction. :type content_id: str + :param created_at: Timestamp when the interaction was added to the queue. + :type created_at: datetime + :param id: Unique identifier of the interaction. :type id: str + :param modified_at: Timestamp when the interaction was last updated. + :type modified_at: datetime + :param type: Type of interaction in an annotation queue. :type type: LLMObsInteractionType """ @@ -58,5 +76,7 @@ def __init__( self_.annotations = annotations self_.content_id = content_id + self_.created_at = created_at self_.id = id + self_.modified_at = modified_at self_.type = type 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 d072f262ab..798f17b359 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 @@ -8,6 +8,7 @@ from datadog_api_client.model_utils import ( ModelNormal, cached_property, + datetime, ) @@ -23,18 +24,31 @@ def openapi_types(_): return { "already_existed": (bool,), "content_id": (str,), + "created_at": (datetime,), "id": (str,), + "modified_at": (datetime,), "type": (LLMObsInteractionType,), } attribute_map = { "already_existed": "already_existed", "content_id": "content_id", + "created_at": "created_at", "id": "id", + "modified_at": "modified_at", "type": "type", } - def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMObsInteractionType, **kwargs): + def __init__( + self_, + already_existed: bool, + content_id: str, + created_at: datetime, + id: str, + modified_at: datetime, + type: LLMObsInteractionType, + **kwargs, + ): """ A single interaction result. @@ -44,9 +58,15 @@ def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMOb :param content_id: Identifier of the content (trace ID or session ID) for this interaction. :type content_id: str + :param created_at: Timestamp when the interaction was added to the queue. + :type created_at: datetime + :param id: Unique identifier of the interaction. :type id: str + :param modified_at: Timestamp when the interaction was last updated. + :type modified_at: datetime + :param type: Type of interaction in an annotation queue. :type type: LLMObsInteractionType """ @@ -54,5 +74,7 @@ def __init__(self_, already_existed: bool, content_id: str, id: str, type: LLMOb self_.already_existed = already_existed self_.content_id = content_id + self_.created_at = created_at self_.id = id + self_.modified_at = modified_at self_.type = type