summaryrefslogtreecommitdiffhomepage
path: root/.rules/docs/ollama/version.md
blob: 29fb7575fc4133081bfeb48e840a73d62f966339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Get version

`GET /api/version` — Retrieve the Ollama server version.

**Server:** `http://localhost:11434`

## Request

No parameters required.

```bash
curl http://localhost:11434/api/version
```

## Response

| Field | Type | Description |
|---|---|---|
| `version` | string | Ollama version (e.g. `"0.12.6"`) |