> For the complete documentation index, see [llms.txt](https://doc.traceye.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.traceye.io/services/shared-indexing/hosted-subquery/manage-hosted-subquery.md).

# Manage Hosted SubQuery

In [Hosted SubQuery](https://app.traceye.io/subgraph/shared-subquery), you can view a list of all existing subqueries and create a new subQuery using the **Add SubQuery** button. Click on a subQuery to open the subQuery details. The subQuery details include information such as the Blockchain Family, Blockchain Network, RPC Endpoint and Creation date. You can view the subQuery **Deployment Command** and the subQuery **Query URL**.

### Monitor your subQuery status

The status of a subQuery is displayed on the subQuery detail page. The status will be one of the following:&#x20;

* **Not deployed** — this status is displayed when you create a subQuery but have not yet deployed a subQuery.
* **In Progress** — the subQuery is in the process of being deployed.
* **Failed** — the subQuery deployment is failed.
* **Deployed** — the subQuery is being deployed and is syncing data.

### Work with SubQuery:

**Step 1: Register/Login** - Create a new account or log in to your existing account on the [Traceye Platform](https://app.traceye.io/account/login).

**Step 2: Navigate to Hosted SubQuery** - Click on the **Hosted SubQuery** in the **SHARED INDEXING** section on the Left navigation panel.

**Step 3:** You will be redirected to the **SubQuery Dashboard** screen to view a list of all existing subqueries.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FRgANIYwervIa5TQK6kV6%2Fimage.png?alt=media&amp;token=9a162d0a-eecb-4a72-bc3a-e3e7b4052e3b" alt=""><figcaption></figcaption></figure>

**Step 4:** Click on the **Add SubQuery** button at the top right of the screen, after which you will be redirected to the Create SubQuery screen.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FAS5hhUU0sdBc1ttE9FuQ%2Fimage.png?alt=media&amp;token=60acff07-254a-4b42-9f72-f6cf9740c514" alt=""><figcaption></figcaption></figure>

**Step 5:** Enter valid Details of the subQuery and Click on the **Add SubQuery** button. After successful validation, you can create a subQuery and be redirected to the details page.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FsayGpTeSfYnpLlUJDJXk%2Fimage.png?alt=media&amp;token=d62c2837-07bf-4244-93a2-bea568462bdc" alt=""><figcaption></figcaption></figure>

**Step 6:** The subQuery details page includes information such as the **Blockchain Family**, **Blockchain** **Network**, **RPC Endpoint** and **Creation date**. You can view the **API units consumed** and other request metadata. Also, you can view the **SubQuery Query URL** and the **SubQuery Deployment Command**, which you are required to deploy the subQuery.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2F1erHPKWYOKYzBbH4CWlx%2Fimage.png?alt=media&amp;token=fc555769-7cbc-435d-8a96-7b24f56ced06" alt=""><figcaption></figcaption></figure>

**Step 7:** After the subQuery is deployed, Status will change from “**Not deployed**” to “**Deployed**” and the subQuery will start indexing. They will be able to see the **Sync Status**, **Request Data** and **Query URL**

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FLTuv7PrhQTzE9w5i9kqt%2Fimage.png?alt=media&amp;token=45a7cf7b-46e4-4d46-b64a-aa03b5b4590e" alt=""><figcaption></figcaption></figure>

**Step 8:** Query URL section provides the URL which will be used to make GraphQL queries. Click on the button on top to access GraphQL playground.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FhNYdloLRMQ99NneZql5w%2Fimage.png?alt=media&amp;token=559e14fe-8c34-44fa-90b9-cc9b3fe468f9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2F2buuUHTj0HC3TGADqx6P%2Fimage.png?alt=media&amp;token=30c33d08-5986-4e84-a42e-e1c227f9e3d1" alt=""><figcaption></figcaption></figure>

**Step 9:** Click on the **Log** button of any deployed subQuery to get real-time status information about the progress of the sync.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2FCnkAxMaCZraCmU9bL1w2%2Fimage.png?alt=media&amp;token=23a1c84e-171f-4223-857e-2122e458a541" alt=""><figcaption></figcaption></figure>

**Step 10:** Click on the “**Entities**” tab of the deployed subQuery to view the entities associated with the subQuery.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2F6hxWlVyv8GfIzou2tkWE%2Fimage.png?alt=media&amp;token=30f355f2-6ad4-4e73-ad29-1f5e343ea562" alt=""><figcaption></figcaption></figure>

**Step 11:** Click on the **Delete** button to delete a subQuery. Your subQuery is deleted, and you return to the [Hosted SubQuery](https://app.traceye.io/subgraph/shared-subquery) dashboard page. Then click on **Continue** to authorize the deletion.

<figure><img src="https://461237800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtdewVLJM1K7okWyOstj%2Fuploads%2F25laoUCp4h9shjpRYyQM%2Fimage.png?alt=media&amp;token=fdcaf9e2-4f86-4657-9e1a-47bcf1a193ae" alt=""><figcaption></figcaption></figure>
