> ## Documentation Index
> Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Attest (PCR-7 quote)

> Device-token authenticated. Records a PCR-7 quote from the box TPM.

The box posts a TPM attestation (PCR-7 quote) so the control plane can record its
boot measurement. Device-token authenticated (`Authorization: Bearer <device_token>`).
Control-plane verification of the quote is beta — the record is stored regardless.

<RequestExample>
  ```bash theme={"theme":"css-variables"}
  curl -X POST https://api.usenaive.ai/v1/devices/self/attest \
    -H "Authorization: Bearer <device_token>" \
    -H "Content-Type: application/json" \
    -d '{ "quote": "...", "pcrs": { "7": "..." } }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"theme":"css-variables"}
  { "recorded": true }
  ```
</ResponseExample>

<Note>
  Self-hosted only. See the [security model](/docs/self-hosting/security-model) for how
  the TPM seals the region's keys to the hardware.
</Note>
