---
title: "Retrieve Inspection Schedule"
method: GET
path: "/inspection_schedules/{id}"
tags: ["Inspection Schedules"]
---

# Retrieve Inspection Schedule

`GET /inspection_schedules/{id}`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/inspection_schedules/{id}`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/inspection_schedules/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve an Inspection Schedule.

## Path parameters

- `id` string, required

## Query parameters

- `include_occurrences` integer

## Response `200`

OK

- InspectionSchedule: An Inspection Schedule
  - `id` integer
  - `active` boolean, required: Whether this Inspection Schedule is active.
  - `vehicle_id` integer, required
  - `inspection_form_id` integer, required
  - `updated_at` string, date-time: The date and time at which this record was most recently updated.
  - `recurring_rule_description` string, required: This describes the recurrence behavior of the Inspection Schedule.
  - `overdue` boolean, required: Whether this Inspection Schedule is overdue.
  - `due_soon` boolean, required: Whether this Inspection Schedule is due soon.
  - `next_due` string: The date on which this Inspection Schedule is next due. This attribute will only appear in responses if there is a next due date.
  - `next_due_relative_time` string: The relative time until this Inspection Schedule is next due. If the Inspection Schedule is overdue, it will describe how long ago it was due. This attribute will only appear in responses if there is a next due date, or overdue.
  - `recurring_schedule_start_at` string: The date on which this Inspection Schedule's recurrence behavior began. This attribute will only appear in responses if the Inspection Schedule is recurring.
  - `upcoming_occurrences` string[]

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
