Skip to main content
Use these guides to verify the evidence returned for requests sent through the NEAR AI Cloud Gateway.
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.

Verify a NEAR AI Cloud Gateway request

NEAR AI Cloud Gateway

Use this when your application sends requests through cloud-api.near.ai. Verify the gateway and, when your policy requires it, every returned NEAR model-attestation candidate.
Using a direct completions endpoint ({slug}.completions.near.ai)? Direct verification is experimental. See Direct Completions for the current limitations.

What happens next

The Gateway guide walks through verifying fresh deployment evidence before a completion and, when present, a response signature against its reported signer. Depending on your application’s policy, you can also verify the TLS connection and software-image provenance.

Common verification concepts

Quote, nonce, and signer bindings

Learn how fresh attestation evidence is tied to your request and to a signing identity.

Verification policy

Decide which checks, measurements, and source-provenance requirements your application accepts.