Retrieve
Retrieve
client.models.retrieve(stringmodel, RequestOptionsoptions?): idstringcreatednumberobject"model"owned_bystringLlamaModel
get/models/{model}
import LlamaAPIClient from 'llama-api-client';
const client = new LlamaAPIClient({
apiKey: 'My API Key',
});
const llamaModel = await client.models.retrieve('Llama-3.3-70B-Instruct');
console.log(llamaModel.id);200 Example
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by"
}