NEAR AI Cloud: Verification
Verify requests sent through the NEAR AI Cloud Gateway.
Use these guides to verify the evidence returned for requests sent through the NEAR AI Cloud Gateway.
[!TIP]
See an example implementation in the NEAR AI Cloud Verification Example repo. A more complete verifier is available in the NEAR AI Cloud Verifier repo.
[!NOTE]
Using a direct completions endpoint (
{slug}.completions.near.ai)? Direct verification is experimental. See Direct Completions for the current limitations.
Verify in your browser
Use the Verification Center at cloud.near.ai/verify to inspect a model's hardware attestation and a reply's signature without writing code.
Verification flow
Start with Gateway attestation to verify fresh deployment evidence before a completion. When your policy requires NEAR model evidence, verify every returned model-attestation candidate. You can also verify the TLS connection and image provenance as required by your policy; after a completion, verify its response signature when present.
Common verification concepts
Quote, nonce, and signer bindings
Learn how fresh attestation evidence is tied to your request and to a signing identity.
Decide which checks, measurements, and source-provenance requirements your application accepts.