API reference

IUsesCredential Interface

Opt-in marker for providers that use a centrally managed API key.

Properties

OverrideApiKey : bool
[Get][Set]
When true, this provider asset uses its own API key instead of the central storage.
Signature
bool OverrideApiKey
ProviderId : string
[Get]
Unique identifier for this provider type (e.g., "OpenAI", "LlamaApi").
Used to store and retrieve credentials from the central CredentialStorage.
Signature
string ProviderId

Methods

GetTestConfig ()
Returns the test configuration for this provider, including endpoint, model, and provider type.
Used by both CredentialStorage and provider-specific editors to test connections.
Signature
ProviderTestConfig GetTestConfig()