List
Lists the currently available models, and provides basic information about each one.
Returns
ModelListResponsetype
from llama_api_client import LlamaAPIClient
client = LlamaAPIClient(
api_key="My API Key",
)
llama_models = client.models.list()
print(llama_models)200 Example
{
"data": [
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by"
}
],
"object": "list"
}