Class LLMObsContentBlock

java.lang.Object
com.datadog.api.client.v2.model.LLMObsContentBlock

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsContentBlock extends Object
A single content block rendered inside a display_block interaction. type discriminates which other fields are meaningful:
  • markdown / text: content must be a string.
  • header: content must be a string; level, when set, must be one of sm, md, lg, xl.
  • json: content must be a well-formed JSON value (object, array, or scalar).
  • image: url is required.
  • widget: tileDef is required (any well-formed JSON; the frontend owns the renderable schema).
  • llmobs_trace: traceId is required; interactionType, when set, must be trace or experiment_trace.
  • frontend: code is required and must be a non-empty string; label is optional.

height, when set, must be positive.