---
title: "Get the autopilot state"
method: GET
path: "/autopilot/state"
tags: ["autopilot"]
---

# Get the autopilot state

`GET /autopilot/state`

Returns the current state of the autopilot, including migration, pruning, and scanning status.

## Response `200`

The current state of the autopilot

- BuildState
  - `buildTime` string, date-time — The build time of the build
  - `commit` string — The commit hash of the build
  - `version` string — The version of the build
  - `os` string — The operating system of the build

## Changes

- **2024-12-18** `922f156353c9` — 1 info
  - api tag `autopilot` added
- **2024-12-09** `f062c35d8f47` — 1 info
  - api tag `autopilot` removed

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/autopilot/state/get.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)
