> For the complete documentation index, see [llms.txt](https://gl-docs.gitbook.io/zkpass/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gl-docs.gitbook.io/zkpass/core-components/service-architecture/zkpass-query-host.md).

# zkPass Query Host

Now, the zkPass Query Host is where the real magic happens. Picture it as a vault, nested within another vault, sitting in a Trusted Execution Environment (TEE). This is the Fort Knox of zkPass, shielded and isolated from the outside world. Communication with the outside, even with the REST API Web Service, happens only through a secure, specialized channel.

Inside this vault is a specialized engine, a component known by the intriguing name of **`<zkvm>-zkpass-query`**, where `<zkvm>` denotes the specific ZKVM (Zero Knowledge Virtual Machine) engine in use. Given the [user data](/zkpass/getting-started/key-concepts/user-data.md) and [DVR](/zkpass/getting-started/key-concepts/dvr.md) inputs, this engine crafts something quite valuable—a secure proof, the zkPass Proof.

So, when you make that initial RESTful call to `generate_zkpass_proof`, what you get back is this zkPass Proof, fresh from the secure confines of the zkPass Query Host's vault. And there you have it, the tale of how zkPass takes your user data and DVR on a journey from a humble reception desk to a high-security vault, only to return to you a valuable proof. Armed with this understanding, you're now ready to make the most of zkPass in your own engineering endeavors.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gl-docs.gitbook.io/zkpass/core-components/service-architecture/zkpass-query-host.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
