Skip to main content
POST
/
api
/
v1
/
attestations
/
verify
Verify TEE quote
curl --request POST \
  --url https://cloud-api.phala.com/api/v1/attestations/verify \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>' \
  --form 'hex=<string>' \
  --form file.0='@example-file'
{
  "id": "<string>",
  "success": true,
  "proof_of_cloud": true,
  "quote": {
    "header": {
      "version": 123,
      "ak_type": 2,
      "tee_type": 0,
      "qe_vendor": "<string>",
      "user_data": "<string>"
    },
    "cert_data": "<string>",
    "body": {
      "tee_tcb_svn": "<string>",
      "mrseam": "<string>",
      "mrsignerseam": "<string>",
      "seamattributes": "<string>",
      "tdattributes": "<string>",
      "xfam": "<string>",
      "mrtd": "<string>",
      "mrconfig": "<string>",
      "mrowner": "<string>",
      "mrownerconfig": "<string>",
      "rtmr0": "<string>",
      "rtmr1": "<string>",
      "rtmr2": "<string>",
      "rtmr3": "<string>",
      "reportdata": "<string>"
    },
    "verified": false
  },
  "checksum": "<string>",
  "can_download": true,
  "uploaded_at": "<string>",
  "verified_at": "<string>",
  "quote_collateral": {
    "pck_crl_issuer_chain": "<string>",
    "root_ca_crl": "<string>",
    "pck_crl": "<string>",
    "tcb_info_issuer_chain": "<string>",
    "tcb_info": "<string>",
    "tcb_info_signature": "<string>",
    "qe_identity_issuer_chain": "<string>",
    "qe_identity": "<string>",
    "qe_identity_signature": "<string>"
  },
  "node_provider": {
    "proof_of_cloud": true,
    "ppid": "<string>",
    "provider": "<string>"
  }
}

Body

multipart/form-data
file
file | null
hex
string | null

Response

Quote verified

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 · object

Parsed quote structure

checksum
string | null

SHA256 of quote bytes

can_download
boolean | null

Raw quote downloadable

uploaded_at
string | null

ISO8601 upload timestamp

verified_at
string | null

ISO8601 timestamp when verified was computed

quote_collateral
QuoteCollateralV3 · object

TCB collateral data

node_provider
NodeProvider · object

Node provider info