Skip to main content

model_lab_facet_keys

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

Overview

Namemodel_lab_facet_keys
TypeResource
Iddatadog.llm_observability.model_lab_facet_keys

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the facet keys resource. (example: 1)
attributesobjectAvailable facet key names for filtering resources.
typestringThe JSON:API type for a facet keys resource. (facet_keys) (example: facet_keys)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_model_lab_run_facet_keysselectfilter[project_id]List all available facet keys for filtering Model Lab runs.

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
filter[project_id]integer (int64)Filter by project ID.
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 available facet keys for filtering Model Lab runs.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.model_lab_facet_keys
WHERE filter[project_id] = '{{ filter[project_id] }}' -- required
;