GET
/
v1
/
attestation
/
report
Attestation Report
curl --request GET \
  --url https://api.redpill.ai/v1/attestation/report \
  --header 'Authorization: Bearer <token>'

Get Attestation Report

Returns cryptographic proof of TEE execution.
GET https://api.redpill.ai/v1/attestation/report?model={model_id}

Parameters

ParameterTypeRequiredDescription
modelstringNoModel ID (for Phala models)

Example

curl "https://api.redpill.ai/v1/attestation/report?model=phala/qwen-2.5-7b-instruct" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "model": "phala/qwen-2.5-7b-instruct",
  "attestation": {
    "type": "nvidia_h100_tee",
    "measurements": {
      "code_hash": "a7f3b2c1d4e5...",
      "platform": "NVIDIA H100 80GB",
      "firmware": "v1.2.3"
    },
    "signature": {
      "algorithm": "ECDSA-P256",
      "value": "3045022100...",
      "cert_chain": ["-----BEGIN CERTIFICATE-----\n..."]
    },
    "timestamp": "2025-01-15T10:30:00Z"
  },
  "verified": true
}

Attestation Guide

Learn how to verify attestation →