Skip to main content

integration_models

Creates, updates, deletes, gets or lists an integration_models resource.

Overview

Nameintegration_models
TypeResource
Iddatadog.llm_observability.integration_models

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique identifier for the model entry. (example: gpt-4o)
model_idstringProvider-specific model identifier used in inference calls. (example: gpt-4o)
integration_display_namestringHuman-readable name of the LLM provider integration. (example: OpenAI)
model_display_namestringHuman-readable model name. (example: GPT-4o)
provider_display_namestringHuman-readable name of the underlying model provider. (example: OpenAI)
has_accessbooleanWhether the account has access to this model.
integrationstringThe name of the LLM provider integration. (example: openai)
json_schemabooleanWhether the model supports structured output via JSON schema.
providerstringThe underlying model provider. (example: openai)
region_prefix_overridesobjectMap of region-specific model ID prefix overrides.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_llmobs_integration_modelsselectintegration, account_idRetrieve the list of models available for the specified LLM provider integration and account.

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
account_idstringThe ID of the integration account. (example: account-abc123)
integrationstringThe name of the LLM integration.
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

Retrieve the list of models available for the specified LLM provider integration and account.

SELECT
id,
model_id,
integration_display_name,
model_display_name,
provider_display_name,
has_access,
integration,
json_schema,
provider,
region_prefix_overrides
FROM datadog.llm_observability.integration_models
WHERE integration = '{{ integration }}' -- required
AND account_id = '{{ account_id }}' -- required
;