Preventive Maintenance

Resolve a preventive maintenance instance

Resolves the current open preventive maintenance instance for a schedule and asset, and automatically creates the next due record based on the schedule's intervals.

<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select Write Preventive Maintenance Resolve under the Preventive Maintenance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

post/maintenance/preventive/resolve

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Query parameters

assetIdstring

Samsara ID of the asset the instance is being resolved for.

scheduleIdstring

ID of the preventive maintenance schedule to resolve.

Request body

resolvedAtstring

RFC3339 time when the maintenance was resolved. Defaults to the current time if not provided.

resolvedAtEngineHoursinteger

Engine hours reading at the time of resolution.

resolvedAtOdometerinteger

Odometer reading at the time of resolution. Measured in meters.

Example request

{
  "resolvedAt": "2026-08-14T09:30:00Z",
  "resolvedAtEngineHours": 4120,
  "resolvedAtOdometer": 120700800
}

Response

OK response.

dataResolvePreventiveMaintenanceResponseObjectTypeResponseBody required

Response for the ResolvePreventiveMaintenance action

Changes

No recorded changes to this operation across all 1 revision of this API.