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
| Field | Type | Description |
|---|---|---|
name | string | Release name of the API. |
version | string | Current version number. |
gitHash | string | Git commit hash of the running build. |
buildDate | string | Build 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 Code | Description |
|---|---|
| 500 - Internal Server Error | Server error. |