---
title: "CLI and farmer version info"
method: GET
path: "/api/v1/version"
tags: ["version"]
---

# CLI and farmer version info

`GET /api/v1/version`

Returns version information for both the CLI and the connected farmer.

## Response `200`

Version information

- CombinedVersion
  - `cli` Version
    - `arch` string — Build architecture
    - `compiler` string — Go compiler version
    - `git_commit` string — Git commit hash
    - `tag` string — Release tag
  - `farmer` Version
    - `arch` string — Build architecture
    - `compiler` string — Go compiler version
    - `git_commit` string — Git commit hash
    - `tag` string — Release tag
  - `error` string — Error message if farmer version could not be retrieved

---

[API](https://skmtc.dev/gogrlx/apis/grlx-cli-api.md) · [All operations](https://skmtc.dev/gogrlx/apis/grlx-cli-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gogrlx/grlx-cli-api/revisions/f88a30dcb10f/schema)
