Skip to main content

ProviderConfigDto

Per-provider config exposed to the admin UI. The api_key is reported as a boolean only; the raw value never leaves the process.

apiBaseUrlstringrequired
apiFallbackbooleanrequired
apiKeySetbooleanrequired

true when an api_key is configured (any non-empty value). The actual key never appears in JSON; that's the whole point of stashing it in .env.

negativeCacheTtlDaysinteger<int32>required

Possible values: >= 0

offlineCacheLoadedbooleanrequired

Runtime: whether the on-disk dump is currently loaded.

offlineDumpConfiguredbooleanrequired
offlineDumpUrlstring | nullnullable
offlineRefreshCronstring | nullnullable
timeoutSecondsinteger<int32>required

Possible values: >= 0

ProviderConfigDto
{
"apiBaseUrl": "string",
"apiFallback": true,
"apiKeySet": true,
"negativeCacheTtlDays": 0,
"offlineCacheLoaded": true,
"offlineDumpConfigured": true,
"offlineDumpUrl": "string",
"offlineRefreshCron": "string",
"timeoutSeconds": 0
}