---
title: "getVersion"
---

> Documentation Index
> Fetch the complete documentation index at: https://agenthold.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# getVersion

Path: agenthold API › meta

`GET /version`

URL: `/api/v1/version`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/api/v1/version'
```

### TypeScript

```typescript
const url = '<base-url>/api/v1/version';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/api/v1/version"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Build information.

#### Example

```json
{
  "version": "string",
  "commit": "string"
}
```

- `version` (`getVersion.response.200.version`; string, required)
- `commit` (`getVersion.response.200.commit`; string, required)


Source: https://agenthold.dev/api/version/list/index.md
