Skip to main content

topic_discovery_clustered_points

Creates, updates, deletes, gets or lists a topic_discovery_clustered_points resource.

Overview

Nametopic_discovery_clustered_points
TypeResource
Iddatadog.llm_observability.topic_discovery_clustered_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringIdentifier of the topic the points belong to. (example: 5c1fae90-2b6d-4e3a-9f12-7a0c4d8e6b21)
attributesobjectAttributes of an Agent Observability patterns clustered points response.
typestringResource type of an Agent Observability patterns clustered points response. (clustered_points_response) (example: clustered_points_response)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_llmobs_patterns_clustered_pointsselecttopic_idpage_size, page_tokenList the data points grouped into a topic. For a parent topic, points from all<br />of its leaf topics are returned.

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
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.
topic_idstringThe ID of the topic to retrieve clustered points for. (example: 5c1fae90-2b6d-4e3a-9f12-7a0c4d8e6b21)
page_sizeinteger (int64)Maximum number of clustered points to return per page.
page_tokenstringPagination token to retrieve the next page of clustered points.

SELECT examples

List the data points grouped into a topic. For a parent topic, points from all<br />of its leaf topics are returned.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.topic_discovery_clustered_points
WHERE topic_id = '{{ topic_id }}' -- required
AND page_size = '{{ page_size }}'
AND page_token = '{{ page_token }}'
;