Skip to main content
POST
/
api
/
ollama
/
models
/ollama/models
curl --request POST \
  --url https://api.anysite.io/api/ollama/models \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "model": "<string>",
  "timeout": 300
}
'
[
  {
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "OllamaModel",
    "description": "<string>",
    "pull_count": 123,
    "tag_count": 123,
    "updated_at": "<string>",
    "capabilities": [],
    "parameter_sizes": [],
    "is_official": false,
    "variants": [],
    "readme": "<string>"
  }
]

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"

"gemma3"

"https://ollama.com/library/qwen2.5-coder"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

name
string
required
alias
string
required
url
string
required
@type
string
default:OllamaModel
description
string | null
pull_count
integer | null
tag_count
integer | null
updated_at
string | null
capabilities
string[]
parameter_sizes
string[]
is_official
boolean
default:false
variants
object[]
readme
string | null