# Public API of launchdarkly_ai_server.experimental.shadow_requests. Generated by `make api-report`; do not edit.
run_shadow(task: ShadowTask, handlers: list[ProviderHandler]) -> ShadowResult  [async]
shadow_config(*, key: str, handler: ProviderHandler | list[ProviderHandler] | None = None, tool_handlers: Mapping[str, Callable[..., Any] | NativeTool] | None = None, registry: Any = None, skip_judges: bool = False, shadow_timeout_s: float = 30.0, on_task: Callable[[ShadowTask], None] | None = None) -> ConfigInstance
ShadowResult  [class, @dataclass(frozen=True)]
  __init__(usage: dict[str, int], track_data: dict[str, Any], error: str | None = None)
  error: str | None = None
  track_data: dict[str, Any]
  usage: dict[str, int]
ShadowTask  [class, @dataclass(frozen=True)]
  __init__(config_key: str, shadow_request_id: str, shadow_config: AiConfigRep, shadow_meta: VariationMeta, user_input: str | None, history: list[dict[str, Any]] | None, variables: dict[str, Any] | None, user_context: LDContext, timeout_s: float, track_data: dict[str, Any], span_attributes: dict[str, Any] = dict(), conversation_id: str | None = None)
  config_key: str
  conversation_id: str | None = None
  history: list[dict[str, Any]] | None
  shadow_config: AiConfigRep
  shadow_meta: VariationMeta
  shadow_request_id: str
  span_attributes: dict[str, Any] = field(default_factory=dict)
  timeout_s: float
  track_data: dict[str, Any]
  user_context: LDContext
  user_input: str | None
  variables: dict[str, Any] | None
