> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# warehouse_queries

> warehouse_queries provides information about queries running on each warehouse.

`warehouse_queries` provides information about queries running on each warehouse.

The following fields are provided in `warehouse_queries`:

| **Field** | **Description** |
| - | - |
| WAREHOUSE\_ID | ID of the warehouse. |
| WAREHOUSE\_NAME | Name of the warehouse. |
| QUERY\_ID | ID of the query. |
| STATE | State of the query (e.g., `PENDING`, `RUNNING`, `FINISHED`). |
| EST\_COSTS\_SLOTS | Estimated cost slots for the query. |
| ALLOCATE\_SLOTS | Allocated slots for the query. |
| QUEUED\_WAIT\_SECONDS | Time in seconds the query waited in the queue. |
| QUERY | The SQL query string. |
| QUERY\_START\_TIME | Start time of the query. |
| QUERY\_END\_TIME | End time of the query. |
| QUERY\_DURATION | Duration of the query. |
| EXTRA\_MESSAGE | Extra message. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.