Retrieve
Retrieve
models.retrieve(strmodel) -> idstrcreatedintobjectliteralowned_bystrLlamaModel
get/models/{model}
from llama_api_client import LlamaAPIClient
client = LlamaAPIClient(
api_key="My API Key",
)
llama_model = client.models.retrieve(
"Llama-3.3-70B-Instruct",
)
print(llama_model.id)200 Example
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by"
}