Skip to main content

topic_discovery_configs

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

Overview

Nametopic_discovery_configs
TypeResource
Iddatadog.llm_observability.topic_discovery_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringIdentifier of the list response. (example: 1000000001)
attributesobjectAttributes of a list of Agent Observability patterns configurations.
typestringResource type of a list of Agent Observability patterns configurations. (list_topic_discovery_configs_response) (example: list_topic_discovery_configs_response)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_llmobs_patterns_configsselectList all patterns configurations for the organization.
upsert_llmobs_patterns_configreplacedataCreate a new patterns configuration, or update an existing one when a configuration ID is provided.
delete_llmobs_patterns_configdeleteconfig_idDelete a patterns configuration by its ID.

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
config_idstringThe ID of the patterns configuration. (example: a7c8d9e0-1234-5678-9abc-def012345678)
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.

SELECT examples

List all patterns configurations for the organization.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.topic_discovery_configs
;

REPLACE examples

Create a new patterns configuration, or update an existing one when a configuration ID is provided.

REPLACE datadog.llm_observability.topic_discovery_configs
SET
data = '{{ data }}'
WHERE
data = '{{ data }}' --required
RETURNING
data;

DELETE examples

Delete a patterns configuration by its ID.

DELETE FROM datadog.llm_observability.topic_discovery_configs
WHERE config_id = '{{ config_id }}' --required
;