---
title: "Get auto-upgrade settings"
method: GET
path: "/api/v1/upgrade/auto-upgrade"
tags: ["Upgrade"]
---

# Get auto-upgrade settings

`GET /api/v1/upgrade/auto-upgrade`

## Request

- Base URL: `http://miner`
- URL: `http://miner/api/v1/upgrade/auto-upgrade`
- Auth: none declared
- TypeScript: <https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/docs/api/v1/upgrade/auto-upgrade/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the current auto-upgrade configuration.

## Response `200`

Successful response with auto-upgrade settings

- GetAutoUpgradeStatusResponse
  - `enabled` boolean, required
  - `last_execution` Timestamp: Custom version of google.protobuf.Timestamp It is used only during compilation to replace google.protobuf.Timestamp to enable traits for de/serialization and for generating documentation
    - `nanos` integer, required
    - `seconds` integer, required
  - `next_execution` Timestamp: Custom version of google.protobuf.Timestamp It is used only during compilation to replace google.protobuf.Timestamp to enable traits for de/serialization and for generating documentation
    - `nanos` integer, required
    - `seconds` integer, required
  - `schedule` AutoUpgradeSchedule
    - `schedule_type` union
      - object
        - `daily` DailySchedule, required
          - `time` UpgradeTime
            - `hours` integer, required: Hours of day in 24 hour format. Must be from 0 to 23.
            - `minutes` integer, required: Minutes of hour of day. Must be from 0 to 59.
            - `seconds` integer, nullable: Seconds of minutes of the time. Can be from 0 to 59.
      - object
        - `weekly` WeeklySchedule, required
          - `day_of_week` integer, nullable
          - `time` UpgradeTime
            - `hours` integer, required: Hours of day in 24 hour format. Must be from 0 to 23.
            - `minutes` integer, required: Minutes of hour of day. Must be from 0 to 59.
            - `seconds` integer, nullable: Seconds of minutes of the time. Can be from 0 to 59.
      - object
        - `monthly` MonthlySchedule, required
          - `day_of_month` integer, nullable: Artificially limited to 1-28 to cover all months
          - `time` UpgradeTime
            - `hours` integer, required: Hours of day in 24 hour format. Must be from 0 to 23.
            - `minutes` integer, required: Minutes of hour of day. Must be from 0 to 59.
            - `seconds` integer, nullable: Seconds of minutes of the time. Can be from 0 to 59.

---

[API](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api.md) - [All operations](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/revisions/d341c8e1d506?raw)
