Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelProviderServiceConfig_AnthropicProviderDirectConfig

    Direct form of Anthropic provider config.

    interface ModelProviderServiceConfig_AnthropicProviderDirectConfig {
        authMode?: {
            $case: "apiKey";
            apiKey: ModelProviderServiceConfig_ProviderSecret;
        };
    }
    Index

    Properties

    Properties

    authMode?: {
        $case: "apiKey";
        apiKey: ModelProviderServiceConfig_ProviderSecret;
    }

    Authentication mode. Exactly one variant may be set. (-- Wrapped in a oneof so future auth modes (e.g. a UC service credential) can be added as additional variants without a breaking change. --)

    Type Declaration

    • $case: "apiKey"
    • apiKey: ModelProviderServiceConfig_ProviderSecret

      Anthropic API key. Required on Create. Sent as the x-api-key header on outbound requests. Supplied as inline plaintext via ProviderSecret.plaintext.