> 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.

# List HOS Rulesets

GET https://api.catenatelematics.com/v2/telematics/ref-hos-rulesets

Get a paginated list of Hours of Service (HOS) rulesets reference data

Reference: https://catena.ferndocs.com/api-reference/telematics/reference-data-supporting-tables/list-hos-rulesets

## Authentication

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

## Request

### Query parameters

- `cursor` (string, optional, nullable) — Cursor for the next page
- `size` (integer, optional, default: 300) — Page size

## Response

### 200

Successful Response

- `items` (list of RefHosRuleset, required)
- `total` (integer, required)
- `current_page` (string, optional, nullable) — Cursor to refetch the current page
- `current_page_backwards` (string, optional, nullable) — Cursor to refetch the current page starting from the last item
- `previous_page` (string, optional, nullable) — Cursor for the previous page
- `next_page` (string, optional, nullable) — Cursor for the next page

## 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

### RefHosRuleset

Canonical reference table of Hours-of-Service (HOS) Cycle Rulesets for North America. Each row defines a normalized HOS Cycle Ruleset, its jurisdiction/authority, and operational characteristics (breaks, restarts, sleeper split, short-haul, exemptions, etc.).

- `hos_ruleset_code` (string, required) — Stable identifier for the HOS Cycle Ruleset (normalized slug).
- `hos_ruleset_name` (string, required) — Human-readable ruleset rule label (display; not for joins).
- `jurisdiction_type` (string, required) — Scope of authority for the rule (US: Interstate/Intrastate; CA: Federal/Provincial).
- `issue_authority` (string, required) — Regulator/authority issuing the rule (e.g., FMCSA, Transport Canada, TX DOT).
- `region` (string, required) — Friendly region label (e.g., US Interstate, US Texas Intrastate, Canada Federal).
- `region_code` (string, required) — ISO code for geography (ISO-3166), e.g., US, US-TX, CA, CA-AB.
- `cycle_days` (integer, optional, nullable) — Length of the cycle window (days) (e.g., 7, 8, 14).
- `max_cycle_hours` (integer, optional, nullable) — Maximum on-duty hours allowed per cycle (hours).
- `max_drive_hours_per_day` (integer, optional, nullable) — Maximum driving hours allowed per local day/24-hour window (hours; e.g., US 11, CA 13, null if unknown/NA).
- `max_work_hours_per_day` (integer, optional, nullable) — Maximum on-duty (work) hours per local day, including driving and on-duty not driving (hours; e.g., US 14, CA often 16).
- `min_offduty_per_day` (integer, optional, nullable) — Minimum off-duty time required per local day (hours); may be satisfied via sleeper-berth split per rule.
- `is_break_required` (boolean, optional, nullable) — Whether a mid-shift break is mandated by the rule (e.g., US 30-minute break).
- `break_interval_hours` (integer, optional, nullable) — Hours after which a required break must occur (e.g., 8); null if not required.
- `is_restart_allowed` (boolean, optional, nullable) — Whether a cycle restart/reset is permitted.
- `restart_hours` (integer, optional, nullable) — Minimum continuous off-duty hours required to restart the cycle (hours; e.g., 34, 36, 72, null if restart not allowed).
- `restart_frequency_days` (integer, optional, nullable) — Minimum days between allowed restarts, if restricted (days; e.g., 7).
- `is_sleeper_split_allowed` (boolean, optional, nullable) — Whether sleeper-berth split is permitted under this rule.
- `sleeper_split_notes` (string, optional, nullable) — Valid sleeper-berth split combinations (free text, e.g., '7+3 or 8+2', '4+6').
- `is_team_rules` (boolean, optional, nullable) — Indicates a team-driver-specific cycle variant (e.g., Canada Team cycles).
- `is_big_day_allowed` (boolean, optional, nullable) — Whether a 16-hour short-haul 'big day' is permitted.
- `is_short_haul_exemption` (boolean, optional, nullable) — Indicates short-haul exemption mode (modifies break/duty windows and logging).
- `short_haul_airmiles` (integer, optional, nullable) — Short-haul radius limit (air miles; store miles; convert from km as needed).
- `short_haul_max_duty_hours` (integer, optional, nullable) — Maximum duty hours when operating under short-haul exemptions (hours; e.g., 12, 14, 16).
- `is_passenger` (boolean, optional, nullable) — Passenger-carrier variant; daily drive/work limits may differ.
- `is_railroad_exemption` (boolean, optional, nullable) — Railroad emergency exemption applies.
- `is_oilfield` (boolean, optional, nullable) — Oilfield/energy sector variant (e.g., waiting-time provisions).
- `is_farm_product` (boolean, optional, nullable) — Farm/agricultural product variant (e.g., California farm products).
- `is_flammable` (boolean, optional, nullable) — Flammable liquids variant (e.g., California hazmat/flammable).
- `is_school_pupil` (boolean, optional, nullable) — School pupil transportation variant (e.g., California school bus rules).
- `is_seasonal_exemption` (boolean, optional, nullable) — Seasonal or time-bound exemption (e.g., Saskatchewan fertilizer exemption).
- `is_special_exemption` (string, optional, nullable) — Free-text description of a special or carrier-specific exemption/waiver (e.g., Salesperson, carrier-specific waiver).

### ValidationErrorDetail

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

### RetryAfterDetail

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

## Examples

**Response**

```json
{
  "items": [
    {
      "hos_ruleset_code": "string",
      "hos_ruleset_name": "string",
      "jurisdiction_type": "string",
      "issue_authority": "string",
      "region": "string",
      "region_code": "string",
      "cycle_days": 1,
      "max_cycle_hours": 1,
      "max_drive_hours_per_day": 1,
      "max_work_hours_per_day": 1,
      "min_offduty_per_day": 1,
      "is_break_required": true,
      "break_interval_hours": 1,
      "is_restart_allowed": true,
      "restart_hours": 1,
      "restart_frequency_days": 1,
      "is_sleeper_split_allowed": true,
      "sleeper_split_notes": "string",
      "is_team_rules": true,
      "is_big_day_allowed": true,
      "is_short_haul_exemption": true,
      "short_haul_airmiles": 1,
      "short_haul_max_duty_hours": 1,
      "is_passenger": true,
      "is_railroad_exemption": true,
      "is_oilfield": true,
      "is_farm_product": true,
      "is_flammable": true,
      "is_school_pupil": true,
      "is_seasonal_exemption": true,
      "is_special_exemption": "string"
    }
  ],
  "total": 1,
  "current_page": "string",
  "current_page_backwards": "string",
  "previous_page": "string",
  "next_page": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.catenatelematics.com/v2/telematics/ref-hos-rulesets"

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

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

print(response.json())
```

```javascript
const url = 'https://api.catenatelematics.com/v2/telematics/ref-hos-rulesets';
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/telematics/ref-hos-rulesets"

	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/telematics/ref-hos-rulesets")

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/telematics/ref-hos-rulesets")
  .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/telematics/ref-hos-rulesets', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.catenatelematics.com/v2/telematics/ref-hos-rulesets");
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/telematics/ref-hos-rulesets")! 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()
```