Skip to main content

annotation_queue_interactions

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

Overview

Nameannotation_queue_interactions
TypeResource
Iddatadog.llm_observability.annotation_queue_interactions

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_llmobs_annotation_queue_interactionsinsertqueue_id, dataAdd one or more interactions to an annotation queue. At least one<br />interaction must be provided. Each interaction has a type:<br /><br />- trace, experiment_trace, session: content_id references the<br /> upstream entity; the server fetches the actual content.<br />- display_block: omit content_id and provide the rendered content<br /> in display_block. The server generates content_id as a<br /> deterministic hash of the block list.<br /><br />Items of different types can be mixed in a single request.
delete_llmobs_annotation_queue_interactionsexecqueue_id, dataDelete one or more interactions from an annotation queue.

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
queue_idstringThe ID of the Agent Observability annotation queue. (example: 00000000-0000-0000-0000-000000000001)
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.

INSERT examples

Add one or more interactions to an annotation queue. At least one<br />interaction must be provided. Each interaction has a type:<br /><br />- trace, experiment_trace, session: content_id references the<br /> upstream entity; the server fetches the actual content.<br />- display_block: omit content_id and provide the rendered content<br /> in display_block. The server generates content_id as a<br /> deterministic hash of the block list.<br /><br />Items of different types can be mixed in a single request.

INSERT INTO datadog.llm_observability.annotation_queue_interactions (
data,
queue_id
)
SELECT
'{{ data }}' /* required */,
'{{ queue_id }}'
RETURNING
data
;

Lifecycle Methods

EXEC variables use wire (API) names.

Delete one or more interactions from an annotation queue.

EXEC datadog.llm_observability.annotation_queue_interactions.delete_llmobs_annotation_queue_interactions
@queue_id='{{ queue_id }}' --required,
@@json=
'{
"data": "{{ data }}"
}'
;