topic_discovery_topics
Creates, updates, deletes, gets or lists a topic_discovery_topics resource.
Overview
| Name | topic_discovery_topics |
| Type | Resource |
| Id | datadog.llm_observability.topic_discovery_topics |
Fields
The following fields are returned by SELECT queries:
- list_llmobs_patterns_topics
| Name | Datatype | Description |
|---|---|---|
id | string | Identifier of the run the topics belong to. (example: 3fd6b5e0-8910-4b1c-a7d0-5b84de329012) |
attributes | object | Attributes of an Agent Observability patterns topics response. |
type | string | Resource type of an Agent Observability patterns topics response. (get_topics_response) (example: get_topics_response) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_llmobs_patterns_topics | select | config_id | run_id | List the topics discovered by a patterns run. When no run is specified,<br />the most recent completed run is used. |
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. |
run_id | string | The ID of a specific patterns run. Defaults to the most recent completed run. (example: 3fd6b5e0-8910-4b1c-a7d0-5b84de329012) |
SELECT examples
- list_llmobs_patterns_topics
List the topics discovered by a patterns run. When no run is specified,<br />the most recent completed run is used.
SELECT
id,
attributes,
type
FROM datadog.llm_observability.topic_discovery_topics
WHERE config_id = '{{ config_id }}' -- required
AND run_id = '{{ run_id }}'
;