From 26749bb6da046e55e73cb627586bba1bfc009eb8 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 20 Apr 2026 19:37:49 +0000 Subject: [PATCH] Regenerate client from commit 1dfb39b 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 dd229dc55f..953f1ff2a9 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -37856,16 +37856,28 @@ components: description: Identifier of the content 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: @@ -38072,10 +38084,20 @@ components: description: Identifier of the content 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: @@ -38083,6 +38105,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 02da163588..dbeab00118 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 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 55cf532e6b..5216f15fd8 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 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