Skip to main content
POST
/
api
/
ollama
/
models
/
tags
/ollama/models/tags
curl --request POST \
  --url https://api.anysite.io/api/ollama/models/tags \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "model": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "tag": "<string>",
    "@type": "OllamaModelTag",
    "digest": "<string>",
    "size": "<string>",
    "size_bytes": 123,
    "context": "<string>",
    "input": "<string>",
    "quantization": "<string>",
    "parameter_size": "<string>",
    "updated_at": "<string>",
    "is_default": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
model
string
required

Model name ('llama3.1'), namespaced user model ('user/name'), or a model URL

Minimum string length: 1
Examples:

"llama3.1"

"qwen2.5-coder"

"https://ollama.com/library/gemma3"

count
integer
required

Number of tags to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

tag
string
required
@type
string
default:OllamaModelTag
digest
string | null
size
string | null
size_bytes
integer | null
context
string | null
input
string | null
quantization
string | null
parameter_size
string | null
updated_at
string | null
is_default
boolean
default:false