---
title: "Verify TEE quote"
method: POST
path: "/api/v1/attestations/verify"
tags: ["Attestations"]
---

# Verify TEE quote

`POST /api/v1/attestations/verify`

Accepts quote as file upload, form hex, or JSON hex. 0x prefix handled automatically.

## Response `200`

Quote verified

- VerificationResponse — Quote verification result.
  - `id` string, required — Quote checksum identifier
  - `success` boolean, required — Verification passed
  - `proof_of_cloud` boolean, required — Quote from Phala Cloud TEE
  - `quote` Quote
    - `header` QuoteHeader, required
      - `version` integer, required
      - `ak_type` 2 | 3, required — Attestation key type (subset used in SGX/TDX DCAP quotes).
      - `tee_type` 0 | 129, required — TEE type values used by Intel DCAP quote header.
      - `qe_vendor` string, binary, required
      - `user_data` string, binary, required
    - `cert_data` string, nullable, required
    - `body` QuoteBody, required
      - `tee_tcb_svn` string, required
      - `mrseam` string, binary, required
      - `mrsignerseam` string, binary, required
      - `seamattributes` string, binary, required
      - `tdattributes` string, binary, required
      - `xfam` string, binary, required
      - `mrtd` string, binary, required
      - `mrconfig` string, binary, required
      - `mrowner` string, binary, required
      - `mrownerconfig` string, binary, required
      - `rtmr0` string, binary, required
      - `rtmr1` string, binary, required
      - `rtmr2` string, binary, required
      - `rtmr3` string, binary, required
      - `reportdata` string, binary, required
    - `verified` boolean, nullable
  - `checksum` string, nullable — SHA256 of quote bytes
  - `can_download` boolean, nullable — Raw quote downloadable
  - `uploaded_at` string, nullable — ISO8601 upload timestamp
  - `verified_at` string, nullable — ISO8601 timestamp when verified was computed
  - `quote_collateral` QuoteCollateralV3
    - `pck_crl_issuer_chain` string, required
    - `root_ca_crl` string, nullable, required
    - `pck_crl` string, required
    - `tcb_info_issuer_chain` string, required
    - `tcb_info` string, required
    - `tcb_info_signature` string, required
    - `qe_identity_issuer_chain` string, required
    - `qe_identity` string, required
    - `qe_identity_signature` string, required
  - `node_provider` NodeProvider — TEE node provider info.
    - `proof_of_cloud` boolean, required — Quote from a trusted cloud TEE
    - `provider` string, nullable — Provider label (e.g. 'phala', 'scrt')
    - `ppid` string, required — Platform Provisioning ID

## Other responses

- `400` — Invalid quote format or verification failed
- `422` — Validation Error

---

[API](https://skmtc.net/phala/apis/phala-cloud-api.md) · [All operations](https://skmtc.net/phala/apis/phala-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phala/phala-cloud-api/versions/83c6ae62e860/schema)
