Skip to main content

ProvidersClient

adaline.providers lists and inspects the LLM providers configured in your workspace.

Access

The class is also exported directly:
Types from @adaline/api:

list()

List every provider configured in the workspace. Does not include model lists — use get() with includeModels: true for that.

Parameters

None.

Returns

Promise<ListProvidersResponse> with { data: Provider[] }. Each Provider has id, settingId, provider (provider name, e.g., "openai"), description, modelSettings, and timestamps.

Example


get()

Fetch a single provider. Pass includeModels: true to also return the list of models available under this provider.

Parameters

Returns

Promise<GetProviderResponse> — the provider record plus (when requested) availableModels: Model[].

Example


See Also