---
title: "Returns the build version running on the server."
method: GET
path: "/api/v1/agent/version"
tags: ["Ops"]
---

# Returns the build version running on the server.

`GET /api/v1/agent/version`

See https://github.com/bacalhau-project/bacalhau/releases for a complete list of `gitversion` tags.

## Response `200`

OK

- ApimodelsGetVersionResponse
  - `BuildDate` string
  - `GOARCH` string
  - `GOOS` string
  - `GitCommit` string
  - `GitVersion` string
  - `Major` string
  - `Minor` string

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/bacalhau-project/apis/bacalhau-api.md) · [All operations](https://skmtc.net/bacalhau-project/apis/bacalhau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bacalhau-project/bacalhau-api/revisions/9470ca2a198b/schema)
