# CQL Reference

CQL (Crisisworks Query Language) provides a way to build structured queries including multi-field and multi-register queries which can also be used in many ways including to export data and prepare reports.

The are two main ways to perform a CQL query are:

1. Using the search box within [Register Filters](/concepts-and-fundamentals/on-a-computer/searching-filtering-and-querying-registers.md#register-filters) (for field based filtering)
2. From the [Search bar](/concepts-and-fundamentals/on-a-computer/searching-filtering-and-querying-registers.md#search-bar) (for more advanced queries across one or more registers)

Both methods must be performed within a specific register.

For more general information on these methods refer to [Searching & Filtering](/concepts-and-fundamentals/on-a-computer/searching-filtering-and-querying-registers.md).

Queries are built by performing operations on fields. A full list of available fields can be found in the [Data Dictionary](broken://pages/kOWwnlRokYfxBf1Za2os).


---

# Agent Instructions: 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:

```
GET https://docs.cw.crisisworks.com/security-and-support/technical-reference/cql-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
