Documentation Index
Fetch the complete documentation index at: https://docs.phala.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Parameters
The
id returned by POST /v1/chat/completions.The model ID used for the original request.
Signature algorithm. Common values include
ecdsa, ecdsa-p256, and rsa; use the algorithm supported by the model response.Examples
Response
Response Fields
| Field | Description |
|---|---|
text | Signed text. Format is either request_hash:response_hash or model:request_hash:response_hash |
signature | Signature over text |
signing_address | TEE signing address or public key |
signing_algo | Signature algorithm used |
When
text has three colon-separated parts, the first part is the model name used inside the signing path. It may differ from the alias you sent if the gateway rewrote the model ID internally.Bind to Attestation
For production verification, use the returnedsigning_address to fetch fresh attestation evidence:
- The request and response hashes in
textmatch the bytes you sent and received. - The signature is valid for
text. - The attestation report binds the same
signing_addressto genuine TEE evidence and your fresh nonce.

