topic_discovery_runs
Creates, updates, deletes, gets or lists a topic_discovery_runs resource.
Overview
| Name | topic_discovery_runs |
| Type | Resource |
| Id | datadog.llm_observability.topic_discovery_runs |
Fields
The following fields are returned by SELECT queries:
- list_llmobs_patterns_runs
| Name | Datatype | Description |
|---|---|---|
id | string | Identifier of the configuration the runs belong to. (example: a7c8d9e0-1234-5678-9abc-def012345678) |
attributes | object | Attributes of an Agent Observability patterns runs response. |
type | string | Resource type of a list of Agent Observability patterns runs. (list_topic_discovery_runs_response) (example: list_topic_discovery_runs_response) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_llmobs_patterns_runs | select | config_id | List the completed patterns runs for a configuration. | |
trigger_llmobs_patterns | insert | data | Start a patterns run for a given configuration. The run executes asynchronously. |
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_runs
List the completed patterns runs for a configuration.
SELECT
id,
attributes,
type
FROM datadog.llm_observability.topic_discovery_runs
WHERE config_id = '{{ config_id }}' -- required
;
INSERT examples
- trigger_llmobs_patterns
- Manifest
Start a patterns run for a given configuration. The run executes asynchronously.
INSERT INTO datadog.llm_observability.topic_discovery_runs (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;
# Description fields are for documentation purposes
- name: topic_discovery_runs
props:
- name: data
description: |
Data object for triggering an Agent Observability patterns run.
value:
attributes:
config_id: "{{ config_id }}"
type: "{{ type }}"