topic_discovery_configs
Creates, updates, deletes, gets or lists a topic_discovery_configs resource.
Overview
| Name | topic_discovery_configs |
| Type | Resource |
| Id | datadog.llm_observability.topic_discovery_configs |
Fields
The following fields are returned by SELECT queries:
- list_llmobs_patterns_configs
| Name | Datatype | Description |
|---|---|---|
id | string | Identifier of the list response. (example: 1000000001) |
attributes | object | Attributes of a list of Agent Observability patterns configurations. |
type | string | Resource 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_llmobs_patterns_configs | select | List all patterns configurations for the organization. | ||
upsert_llmobs_patterns_config | replace | data | Create a new patterns configuration, or update an existing one when a configuration ID is provided. | |
delete_llmobs_patterns_config | delete | config_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
config_id | string | The ID of the patterns configuration. (example: a7c8d9e0-1234-5678-9abc-def012345678) |
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. |
SELECT examples
- list_llmobs_patterns_configs
List all patterns configurations for the organization.
SELECT
id,
attributes,
type
FROM datadog.llm_observability.topic_discovery_configs
;
REPLACE examples
- upsert_llmobs_patterns_config
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_llmobs_patterns_config
Delete a patterns configuration by its ID.
DELETE FROM datadog.llm_observability.topic_discovery_configs
WHERE config_id = '{{ config_id }}' --required
;