Attestation Report
API Reference
Attestation Report
GET /v1/attestation/report - Get TEE attestation
GET
Attestation Report
Documentation Index
Fetch the complete documentation index at: https://docs.redpill.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Attestation Report
Returns cryptographic proof of TEE execution with hardware-signed measurements.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
modelparameter is pre-filled withphala/qwen-2.5-7b-instruct - Optionally add
noncefor replay protection
Parameters
Model ID for TEE attestation (required for Phala confidential models)Examples:
z-ai/glm-5.1, z-ai/glm-5, phala/qwen3.5-27b, phala/qwen-2.5-7b-instruct, openai/gpt-oss-120bRandom 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)Example
Basic Request (without nonce)
Secure Request (with nonce - RECOMMENDED)
With Signing Address (for signature verification)
Response
The response format depends on the provider backing the model. The verifier auto-detects and handles all formats.Phala / NearAI (Two-Layer Format)
Models backed by Phala or NearAI return separate gateway and model attestations:Chutes Format
Models backed by Chutes return a different structure with base64-encoded quotes:Phala Native (Flat Format, older models)
Some Phala-native models return fields at the top level:Response Fields
| Field | Type | Description |
|---|---|---|
signing_address | string | Ethereum address (ECDSA) or Ed25519 public key used for signing |
signing_algo | string | Signature algorithm: "ecdsa" or "ed25519" |
request_nonce | string | The nonce you provided or the nonce embedded in TEE report data |
intel_quote | string | Intel TDX quote (hex or base64 encoded) for CPU TEE verification |
nvidia_payload | string | NVIDIA GPU attestation payload (JSON string) |
event_log | array | Boot event log for dstack deep verification |
info.vm_config | string | VM configuration for dstack verification |
info.tcb_info.app_compose | string | Docker compose configuration (JSON string) |
gateway_attestation | object | TEE gateway attestation (Phala/NearAI) |
model_attestations | array | Model inference TEE attestations (Phala/NearAI) |
all_attestations | array | All instance attestations (Chutes) |
attestation_type | string | Provider type: "chutes" (Chutes only) |
Provider auto-detection: The RedPill Verifier SDK automatically detects the response format and applies the correct verification logic for each provider.
Attestation Guide
Learn how to verify attestation →