Before you start
- Create an API key in the Developer Dashboard.
- Install the SDK using the JavaScript, Python, Rust, or Go guide.
- Use
z-ai/glm-5.3-flashas shown, or choose another Chat Completions model marked Confidential TEE in the model catalog.
Send a request and verify the reply
- JavaScript
- Python
- Rust
- Go
Understand the result
The SDK checks the receipt against the exact request and response bytes. The signature kind tells you who signed it.
If the example stops because it requires a model-signed response, check that you selected a Confidential TEE Chat Completions model.
Adapt the flow
- Client lifetime: verify the response with the client that sent the request, before its cached record expires (60 minutes by default).
- Streaming: consume the entire stream before calling response verification.
- Other APIs: use the response ID appropriate to the API. The SDK overview lists the IDs for Chat Completions, Responses, Messages, and System One.
- Browser applications: use the browser SDK entry point. See TLS connection binding for runtime support, or inspect evidence with the Verification Center.
- Software acceptance rules: follow verification policy and image provenance.