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

# Get vehicle utilization benchmarks

GET https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/{vehicle_id}/utilization

Retrieve a vehicle's daily utilization (meters/day) and percentile rank across all cohorts the vehicle is assigned to. Each entry in the response corresponds to one cohort. Percentile and cohort statistics are suppressed when a cohort is too small to meet the k-anonymity floor.

Reference: https://catena.ferndocs.com/api-reference/intelligence/benchmarks/get-vehicle-utilization-benchmarks

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `vehicle_id` (string, required)

### Query parameters

- `from_date` (date, optional, nullable) — Inclusive start of the benchmark window. **Format:** YYYY-MM-DD **Default:** 30 days before yesterday (trailing-30d hot window). **Restriction:** `to_date - from_date` cannot exceed 90 days.
- `to_date` (date, optional, nullable) — Inclusive end of the benchmark window. **Format:** YYYY-MM-DD **Default:** yesterday (most recent completed day in the utilization pipeline). **Restriction:** `to_date - from_date` cannot exceed 90 days.

## Response

### 200

Successful Response

- `list of VehicleUtilizationBenchmark`

## Errors

### 400 Bad Request Error

Bad Request

- `code` (integer, optional, default: 400)
- `message` (string, optional, default: Bad Request)
- `detail` (string, optional, nullable)

### 401 Unauthorized Error

Unauthorized

- `code` (integer, optional, default: 401)
- `message` (string, optional, default: Unauthorized)
- `detail` (string, optional, nullable)

### 403 Forbidden Error

Forbidden

- `code` (integer, optional, default: 403)
- `message` (string, optional, default: Forbidden)
- `detail` (string, optional, nullable)

### 404 Not Found Error

Not Found

- `code` (integer, optional, default: 404)
- `message` (string, optional, default: Not Found)
- `detail` (string, optional, nullable)

### 405 Method Not Allowed Error

Method Not Allowed

- `code` (integer, optional, default: 405)
- `message` (string, optional, default: Method Not Allowed)
- `detail` (string, optional, nullable)

### 409 Conflict Error

Conflict

- `code` (integer, optional, default: 409)
- `message` (string, optional, default: Conflict)
- `detail` (string, optional, nullable)

### 422 Unprocessable Entity Error

Unprocessable Entity

- `code` (integer, optional, default: 422)
- `message` (string, optional, default: Invalid Request Body)
- `detail` (list of ValidationErrorDetail, optional, nullable)

### 429 Too Many Requests Error

Too Many Requests

- `code` (integer, optional, default: 429)
- `message` (string, optional, default: Too Many Requests)
- `detail` (RetryAfterDetail, optional, nullable)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional, default: Internal Server Error)

### 501 Not Implemented Error

Not Implemented

- `code` (integer, optional, default: 501)
- `message` (string, optional, default: Not Implemented)
- `detail` (string, optional, nullable)

## Types

### VehicleUtilizationBenchmark

Benchmark response: a vehicle's daily utilization vs its cohort. `percentile` and `cohort` are null when the cohort falls below the k-anonymity floor (too few distinct fleets), regardless of which internal path served the response. `cached` is informational only.

- `vehicle_id` (string, required) — Catena vehicle identifier.
- `cohort_id` (string, required) — Cohort the vehicle was benchmarked against.
- `window` (BenchmarkWindow, required) — Date range used for the benchmark.
- `vehicle_value` (integer, required, nullable) — Vehicle's average meters/day over the window. Null if the vehicle has no utilization data.
- `percentile` (integer, required, nullable) — Vehicle's percentile rank (0-100) within the cohort daily distribution. Null if suppressed by k-anonymity or data unavailable.
- `cohort` (CohortStats, required, nullable) — Cohort size metrics. Null if suppressed by k-anonymity or data unavailable.
- `cached` (boolean, required) — True when the response was served from the pre-computed percentile cache; False when computed live from daily sketches.
- `metric` ("meters_driven", optional, default: meters_driven) — Metric being benchmarked (v1: always 'meters_driven').

### ValidationErrorDetail

- `path` (string, required)
- `input` (string, required)
- `message` (string, required)
- `error_type` (string, required)

### RetryAfterDetail

- `retry_after_seconds` (integer, required)
- `message` (string, required)

### BenchmarkWindow

Date range covered by a benchmark response.

- `from_date` (date, required) — Inclusive start of the benchmark window (YYYY-MM-DD).
- `to_date` (date, required) — Inclusive end of the benchmark window (YYYY-MM-DD).

### CohortStats

Aggregated cohort size metrics exposed alongside the percentile.

- `number_of_vehicles` (integer, required) — Number of distinct vehicles in the cohort for this window.
- `number_of_fleets` (integer, required) — Number of distinct fleets contributing to the cohort (used for k-anonymity).

## Examples

**Response**

```json
[
  {
    "vehicle_id": "string",
    "cohort_id": "string",
    "window": {
      "from_date": "2023-01-15",
      "to_date": "2023-01-15"
    },
    "vehicle_value": 1,
    "percentile": 1,
    "cohort": {
      "number_of_vehicles": 1,
      "number_of_fleets": 1
    },
    "cached": true,
    "metric": "meters_driven"
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization"

headers = {"Authorization": "Bearer <token>"}

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

print(response.json())
```

```javascript
const url = 'https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go
package main

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

func main() {

	url := "https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization"

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

	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

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

url = URI("https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization")

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

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

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

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

HttpResponse<String> response = Unirest.get("https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.catenatelematics.com/v2/intelligence/benchmarks/vehicles/vehicle_id/utilization")! 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()
```