> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-agentix/detect-investigate-and-respond-to-threats/extended-threat-intelligence/threat-intel-investigation-through-xql.md).

# Threat intel investigation through XQL

Query XTI indicators, threat objects, and their relationships using Cortex Query Language in Cortex AgentiX.

XTI is integrated into the Cortex Query Language (XQL) system, empowering you to create investigations and hunt queries using the full depth of the XTI intelligence library.

You can query threat intel indicators and threat objects through the XQL Search Portal by navigating to **Investigation & Response → Search → Query Builder**.

The following threat intel XQL datasets are available:

| **Dataset name**                | **Description**                                                                                 |
| ------------------------------- | ----------------------------------------------------------------------------------------------- |
| *threat\_intel\_indicators*     | Contains all active threat intel indicators with their attributes.                              |
| *threat\_intel\_threat\_actors* | Contains all threat intel actors with their attributes.                                         |
| *threat\_intel\_malware*        | Contains all threat intel malware families with their attributes.                               |
| *threat\_intel\_relationships*  | Describes associations between threat objects (threat actors, malware families) and indicators. |
| *issue\_to\_indicator*          | Correlates threat intel data with issues data.                                                  |

Select the **Schema** tab to see all fields available for each dataset.

{% hint style="info" %}
Because XTI datasets are holistic, stateful representations rather than time-bound logs, the Time frame filter is disabled for these datasets.
{% endhint %}

**Related links**

For general information about XQL, see [Cortex AgentiX XQL](/cortex-agentix/reference-and-developer-docs/cortex-agentix-xql.md).

## Using XTI datasets in correlation rules

Using XTI datasets in correlation rules is not supported. Contact Palo Alto Networks if you have any questions.

<br>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-agentix/detect-investigate-and-respond-to-threats/extended-threat-intelligence/threat-intel-investigation-through-xql.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
