Class LLMObsCreatePromptDataAttributes

Attributes for creating an Agent Observability prompt and its first version. prompt_id and template are required; all other attributes are optional. If config is omitted, the first version stores an empty object. Configuration authoring must be enabled for your organization to supply config. Otherwise, supplying it, including an empty object, returns HTTP 403.

Hierarchy

  • LLMObsCreatePromptDataAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
config?: {
    [key: string]: any;
}

Versioned prompt configuration is in Preview. To request access, contact Datadog Support or your Customer Success Manager. Customer-owned configuration delivered with a prompt version. Datadog stores and returns the object without interpolating it, validating provider-specific keys, or applying it to model calls. Do not include secrets.

Type declaration

  • [key: string]: any
description?: string

Optional description of the prompt.

envIds?: string[]

Optional feature-flag environment UUIDs the service attempts to enable and configure to use the first version as their default after creation.

Optional labels to attach to the first version. Do not use this attribute for new integrations.

promptId: string

Customer-provided identifier for the new prompt.

A text template, a list of chat messages and named message placeholders, or an authored chat object. Text can include an exact prompt version with {{>prompt-id version=N}}; other text, including {{>...}} sequences without a version, remains literal. Use an authored chat object when including prompts as chat messages. Preview: Prompt composition is available in Preview. To request access, contact Datadog Support or your Customer Success Manager. Without access, inline references remain literal text and structured includes are unsupported. Previously compiled prompt versions remain available for execution. Preview: Message placeholders are available in Preview. To request access, contact Datadog Support or your Customer Success Manager.

title?: string

Optional title of the prompt.

userVersion?: string

Optional user-supplied version identifier for the first version.

Generated using TypeDoc