List available models across the user's configured providers.
GET
/api/advisor/models
const url = 'https://api.tradr.cloud/api/advisor/models';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/advisor/modelsReturns the cached ProviderModel[] for every provider the user has a key for, each item tagged with its providerId (claude | openai) so clients can scope per-provider selectors. Served from the shared ListModelsCache (10-minute TTL). Response: { items: (ProviderModel & { providerId })[] }.
Responses
Section titled “Responses”{ items: (ProviderModel & { providerId })[] }.
A provider key could not be decrypted.