Base URL
https://tee.redpill.ai/v1. It rejects standard models with 404 and forces attested serving. See
the TEE-only endpoint.
Authentication
Send your API key as a bearer token:Endpoints
Inference
Each model has an
is_tee boolean: is_tee: true means it can be served confidentially, on a
verified TEE provider. The receipt’s upstream.verified event confirms a specific response was. See
Confidential models.
Verification
To verify a response: fetch the attestation report with a fresh
nonce, read the x-receipt-id
header on your response, fetch its signed receipt, then check the receipt signature under the attested
keyset and compare the request and response hashes. See Verify a response.
Legacy
Legacy endpoints kept for backward compatibility with earlier API clients. New integrations should use the canonical endpoints above.Request format
POST requests use JSON:Response format
Response headers
Inference responses include verification headers:
To select a model, set the
model field in the request body. For end-to-end encryption, send the
X-E2EE-* request headers from the E2EE guide.
Errors
Errors return a JSON body with an appropriate HTTP status:
See Error handling. Rate limits depend on your account tier; check the
dashboard.