---
title: "GET /attested/document"
method: GET
path: "/attested/document"
---

# GET /attested/document

`GET /attested/document`

Get Attested Data for the Virtual Machine.

## Query parameters

- `api-version` string, required
- `nonce` string

## Headers

- `Metadata` 'true', required

## Response `200`

OK

- AttestedData — This is the response from the Attested_GetDocument operation.
  - `signature` string — This is the encoded string containing the VM ID, SKU, plan information, public key, timestamp, and nonce value.
  - `encoding` string — This is the encoding scheme of the signature.

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2026-07-13** (2018-02-01) `503e7225df0f` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2018-02-01) `eb496c25f2af` — 7 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `405`
  - …3 more
- **2026-07-13** (2018-02-01) `729c2bb36ff1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/imds-instancemetadataservice/changes/attested/document/get.md)

---

[API](https://skmtc.dev/azure/apis/imds-instancemetadataservice.md) · [All operations](https://skmtc.dev/azure/apis/imds-instancemetadataservice/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/imds-instancemetadataservice/revisions/6e1cf4083a8b/schema)
