model_lab_run_pins
Creates, updates, deletes, gets or lists a model_lab_run_pins resource.
Overview
| Name | model_lab_run_pins |
| Type | Resource |
| Id | datadog.llm_observability.model_lab_run_pins |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
pin_model_lab_run | insert | run_id | Pin a Model Lab run for the current user. | |
unpin_model_lab_run | delete | run_id | Remove the pin from a Model Lab run for the current user. |
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 |
|---|---|---|
run_id | integer (int64) | The ID of the Model Lab run. |
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. |
INSERT examples
- pin_model_lab_run
- Manifest
Pin a Model Lab run for the current user.
INSERT INTO datadog.llm_observability.model_lab_run_pins (
run_id
)
SELECT
'{{ run_id }}'
;
# Description fields are for documentation purposes
- name: model_lab_run_pins
props:
- name: run_id
value: "{{ run_id }}"
description: Required parameter for the model_lab_run_pins resource.
DELETE examples
- unpin_model_lab_run
Remove the pin from a Model Lab run for the current user.
DELETE FROM datadog.llm_observability.model_lab_run_pins
WHERE run_id = '{{ run_id }}' --required
;