annotated_interactions
Creates, updates, deletes, gets or lists an annotated_interactions resource.
Overview
| Name | annotated_interactions |
| Type | Resource |
| Id | datadog.llm_observability.annotated_interactions |
Fields
The following fields are returned by SELECT queries:
- get_llmobs_annotated_interactions_by_trace_ids
| Name | Datatype | Description |
|---|---|---|
id | string | Opaque identifier for the response object. (example: trace-query) |
attributes | object | Attributes of the cross-queue annotated interactions response. |
type | string | Resource 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_llmobs_annotated_interactions_by_trace_ids | select | content_ids | offset, limit | Returns 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.
| Name | Datatype | Description |
|---|---|---|
content_ids | array | One or more content IDs to retrieve annotated interactions for. At least one is required. (wire: contentIds) |
site | string | The 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. |
limit | integer (int32) | Maximum number of results to return. Must be > 0. Defaults to 100. |
offset | integer (int32) | Pagination offset. Must be >= 0. Defaults to 0. |
SELECT examples
- get_llmobs_annotated_interactions_by_trace_ids
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 }}'
;