Skip to main content

annotated_interactions

Creates, updates, deletes, gets or lists an annotated_interactions resource.

Overview

Nameannotated_interactions
TypeResource
Iddatadog.llm_observability.annotated_interactions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringOpaque identifier for the response object. (example: trace-query)
attributesobjectAttributes of the cross-queue annotated interactions response.
typestringResource type for cross-queue annotated interactions lookup. (annotated_interactions_by_trace) (example: annotated_interactions_by_trace)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_llmobs_annotated_interactions_by_trace_idsselectcontent_idsoffset, limitReturns annotated interactions across all annotation queues for the given content IDs.<br />Results include queue metadata (ID and name) for each interaction.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
content_idsarrayOne or more content IDs to retrieve annotated interactions for. At least one is required. (wire: contentIds)
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.
limitinteger (int32)Maximum number of results to return. Must be > 0. Defaults to 100.
offsetinteger (int32)Pagination offset. Must be >= 0. Defaults to 0.

SELECT examples

Returns annotated interactions across all annotation queues for the given content IDs.<br />Results include queue metadata (ID and name) for each interaction.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.annotated_interactions
WHERE content_ids = '{{ content_ids }}' -- required
AND offset = '{{ offset }}'
AND limit = '{{ limit }}'
;