> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tabs.com/_mcp/server.

# Get API version information

GET https://usage-events.prod.api.tabsplatform.com/v1/version

Returns the current API version, name, and description

Reference: https://docs.tabs.com/api-reference/events/getApiVersion

## Authentication

- `Authorization` header (required) — API Key authentication via header

## Response

### 200

Version information retrieved successfully

- `version` (string, optional) — API version
- `api` (string, optional) — API name
- `description` (string, optional) — API description

## Errors

### 429 Too Many Requests Error

Too Many Requests - Rate limit exceeded

- `statusCode` (integer, optional) — HTTP status code
- `message` (string, optional) — Error message
- `timestamp` (string, optional) — Timestamp when the error occurred
- `path` (string, optional) — Request path
- `method` (string, optional) — HTTP method
- `retryAfter` (integer, optional) — Number of seconds to wait before retrying

### 500 Internal Server Error

Internal Server Error

- `success` (boolean, optional) — Indicates if the operation was successful
- `message` (string, optional) — Human-readable error message
- `error` (ErrorDetail, optional) — Detailed error information

## Types

### ErrorDetail

Detailed error information

- `code` (integer, optional) — Error code
- `message` (string, optional) — Error message
- `details` (map from string to list of string, optional) — Map of field names to array of error messages

## Examples

**Response**

```json
{
  "version": "v1",
  "api": "Events API",
  "description": "Event Ingestion API for usage in Tabs"
}
```

**SDK Code**

```python Version Response
import requests

url = "https://usage-events.prod.api.tabsplatform.com/v1/version"

headers = {"Authorization": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Version Response
const url = 'https://usage-events.prod.api.tabsplatform.com/v1/version';
const options = {method: 'GET', headers: {Authorization: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Version Response
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://usage-events.prod.api.tabsplatform.com/v1/version"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Version Response
require 'uri'
require 'net/http'

url = URI("https://usage-events.prod.api.tabsplatform.com/v1/version")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Version Response
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://usage-events.prod.api.tabsplatform.com/v1/version")
  .header("Authorization", "<apiKey>")
  .asString();
```

```php Version Response
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://usage-events.prod.api.tabsplatform.com/v1/version', [
  'headers' => [
    'Authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Version Response
using RestSharp;

var client = new RestClient("https://usage-events.prod.api.tabsplatform.com/v1/version");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Version Response
import Foundation

let headers = ["Authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://usage-events.prod.api.tabsplatform.com/v1/version")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```