> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/infrastructure-as-code-management/iacm-api-reference/system/version-system.md).

# version system

Get server version

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"system","description":"System Service handles the API for health checks and version."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/version":{"get":{"tags":["system"],"summary":"version system","description":"Get server version","operationId":"system#version","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceVersion"}}}}}}}},"components":{"schemas":{"ServiceVersion":{"type":"object","properties":{"commit":{"type":"string","description":"Build identifier"},"deployment_mode":{"type":"string","description":"Determines if the service is running on saas or smp","enum":["saas","smp"]},"version":{"type":"string","description":"Version number"}},"description":"Service version","required":["version","commit","deployment_mode"]}}}}
```
