---
title: "Wake up autopilot"
method: POST
path: "/autopilot/trigger"
tags: ["autopilot"]
---

# Wake up autopilot

`POST /autopilot/trigger`

Triggers the autopilot to start an iteration of contract maintenance and host scanning.

## Request body

- object
  - `forceScan` boolean — If true, the autopilot force a new batch of host scans even if it recently scanned the hosts.

## Response `200`

Successfully attempted to trigger the autopilot

- object
  - `triggered` boolean — Indicates whether the request triggered a new iteration of the maintenance loop. If maintenance was already ongoing, this will be false.

## Other responses

- `400` — Malformed request

## Changes

- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `400`
  - api tag `autopilot` added
- **2024-12-09** `f062c35d8f47` — 2 info
  - api tag `autopilot` removed
  - added the media type `text/plain` for the response with the status `400`

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/autopilot/trigger/post.md)

---

[API](https://skmtc.dev/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/184a3d5207da/schema)
