Skip to main content

Version

Check the current version of the Targon Hub API. This endpoint does not require authentication.


Get Version

Returns the current API version.

Endpoint

GET /tha/v2/version

Example Request

curl -X GET https://api.targon.com/tha/v2/version

Response

FieldTypeDescription
namestringRelease name of the API.
versionstringCurrent version number.
gitHashstringGit commit hash of the running build.
buildDatestringBuild timestamp of the running release.

Example Response

{
"name": "Targon Hub API - (Bloody)",
"version": "v1.2.0",
"gitHash": "c4ab926",
"buildDate": "2026-03-20T05:12:00+0000"
}

Errors

Status CodeDescription
500 - Internal Server ErrorServer error.