Returns cryptographic proof of TEE execution with hardware-signed measurements.
Copy
GET https://api.redpill.ai/v1/attestation/report?model={model_id}&nonce={nonce}&signing_address={address}
Try it now! Click the “Try it” button above to test the API in the playground. You’ll need:
Your API key (add it when prompted)
The model parameter is pre-filled with phala/qwen-2.5-7b-instruct
Optionally add nonce for replay protection
Security Best Practice: Always include a fresh random nonce when fetching attestations to prevent replay attacks. Generate a 32-byte random value (64 hex characters) for each request.
Model ID for TEE attestation (required for Phala confidential models)Examples: phala/qwen-2.5-7b-instruct, phala/deepseek-chat-v3-0324, phala/gpt-oss-120b
Random 32-byte value (64 hex characters) to prevent replay attacks. The nonce will be embedded in the TEE attestation report data.Example: a1b2c3d4e5f6... (64 hex characters)Security: Generate fresh nonce for each request using secrets.token_hex(32) in Python or openssl rand -hex 32 in bash.
Ethereum address (ECDSA) or Ed25519 public key to filter attestations in multi-server deployments.Use case: When verifying signatures, provide the signing address recovered from the signature to get attestation for that specific TEE instance.Example: 0x1234567890abcdef... (ECDSA address)
Ethereum address (ECDSA) or Ed25519 public key used for signing
signing_algo
string
Signature algorithm: "ecdsa" or "ed25519"
nonce
string
The nonce you provided, embedded in TEE report data
intel_quote
string
Intel TDX quote (hex-encoded) for CPU TEE verification
nvidia_payload
string
NVIDIA GPU attestation payload (JSON string)
info.tcb_info.app_compose
string
Docker compose configuration (JSON string)
all_attestations
array
Array of attestations from multiple backend servers
verified
boolean
Whether RedPill pre-verified the attestation
Multi-server deployments: When using signing_address parameter, you may receive an all_attestations array containing attestations from multiple backend servers. Filter by signing_address to find the specific server that signed your response.