---
title: "Get Nonce"
method: GET
path: "/servers/nonce"
tags: ["Servers"]
---

# Get Nonce

`GET /servers/nonce`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/servers/nonce`
- Auth: none declared

Generate a nonce for boot attestation.

This endpoint is called by VMs during boot before any registration.
No authentication required as the VM doesn't exist in the system yet.

miner_hotkey is OPTIONAL for backwards compatibility: older VM initramfs fetch the nonce
without it. When supplied it is bound into the nonce, and boot attestation enforces that
args.miner_hotkey matches the value stored here (preventing cross-miner nonce reuse). VMs
that omit it get an unbound nonce and the binding check is skipped.

TODO: make miner_hotkey required when all VMs >= 1.4.0

## Query parameters

- `miner_hotkey` string, nullable

## Response `200`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 3 breaking, 2 info
  - the response's body type changed from `object` to `string` for status `200`
  - removed the required property `expires_at` from the response with the `200` status
  - removed the required property `nonce` from the response with the `200` status
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - …1 more
- **2026-08-26** `8d909638091e`: 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e`: 1 breaking
  - api path removed without deprecation
- **2026-08-04** `352418d4e3a2`: 2 info
  - added the new optional `query` request parameter `miner_hotkey`
  - added the non-success response with the status `422`

[Operation history](https://skmtc.dev/chutes/apis/chutes-api/changes/servers/nonce/get.md)

---

[API](https://skmtc.dev/chutes/apis/chutes-api.md) - [All operations](https://skmtc.dev/chutes/apis/chutes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/chutes-api/revisions/8add5b0e22da?raw)
