dataset_versions
Creates, updates, deletes, gets or lists a dataset_versions resource.
Overview
| Name | dataset_versions |
| Type | Resource |
| Id | datadog.llm_observability.dataset_versions |
Fields
The following fields are returned by SELECT queries:
- list_llmobs_dataset_versions
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier of the dataset version. (example: 3fd6b5e0-8910-4b1c-a7d0-5b84de329012) |
attributes | object | Attributes of an Agent Observability dataset version. |
type | string | Resource type of an Agent Observability dataset version. (dataset_version) (example: dataset_version) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_llmobs_dataset_versions | select | project_id, dataset_id | List the active versions of a dataset. A version is created each time a dataset is referenced by an experiment run. |
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 |
|---|---|---|
dataset_id | string | The ID of the Agent Observability dataset. (example: 9f64e5c7-dc5a-45c8-a17c-1b85f0bec97d) |
project_id | string | The ID of the Agent Observability project. (example: a33671aa-24fd-4dcd-9b33-a8ec7dde7751) |
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_dataset_versions
List the active versions of a dataset. A version is created each time a dataset is referenced by an experiment run.
SELECT
id,
attributes,
type
FROM datadog.llm_observability.dataset_versions
WHERE project_id = '{{ project_id }}' -- required
AND dataset_id = '{{ dataset_id }}' -- required
;