JavaScript
const options = { method: 'POST', headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'}, body: JSON.stringify({model: '<string>', models: ['<string>']}) }; fetch('https://api.decart.ai/v1/models/resolve', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "model_id": "<string>", "model_ids": {} }
Resolve one or more public model names/aliases to canonical model ids.
Documentation IndexFetch the complete documentation index at: https://docs.platform.decart.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.platform.decart.ai/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Show child attributes
Was this page helpful?