Skip to content
  • Auto
  • Light
  • Dark
Log in to API

List

List
get/models

Lists the currently available models, and provides basic information about each one.

Returns
dataarray of idstringcreatednumberobjectenumowned_bystringLlamaModel
objectenum
optional
"list"
Hide ParametersShow Parameters
"list"
curl https://api.llama.com/v1/models \
    -H "Authorization: Bearer $LLAMA_API_KEY"
200 Example
{
  "data": [
    {
      "id": "id",
      "created": 0,
      "object": "model",
      "owned_by": "owned_by"
    }
  ],
  "object": "list"
}