# Using LLMs with OneKey

To help you integrate with OneKey more efficiently, we have made our documentation accessible to **Large Language Models (LLMs)** and AI-powered development tools. By providing our content in machine-readable formats, you can easily build, query, and automate tasks using the OneKey platform.

This guide covers the resources we provide: a high-level discovery file (**`llms.txt`**), a bulk content file (**`llms-full.txt`**),  granular access to our guides in plain text **Markdown** (**`.md`**) and a powerful feature to let you **ask your favorite LLMs** effortless through specific page content.

### **The `llms-full.txt` File**

For efficient bulk ingestion, the `/llms-full.txt` file provides the entire content of our documentation consolidated into a single Markdown file. This is the most effective way to feed all of our documentation into a system at once.

OneKey Payments  `llms-full.txt` Location:

```
https://docs.onekeypayments.com/llms-full.txt
```

### **Markdown guides**

For direct access to specific pages, every guide in our documentation is available in a raw **Markdown (`.md`)** format. This removes all complex web formatting (HTML, CSS), making it trivial for a script or LLM to parse the text. To retrieve the Markdown source for any guide, simply append `.md` to its URL.

**Example:**

* **Standard URL:** `https://apidocs.onekeypayments.com/guides/using-llms-with-onekey`
* **Markdown URL:** `https://apidocs.onekeypayments.com/guides/using-llms-with-onekey.md`

### Ask your LLM

{% columns %}
{% column width="66.66666666666666%" %}
All pages within the documentation allow users to:

* copy the whole content in Markdown
* view the page in markdown format straight in the web browser
* open a conversation with your favorite LLMs with all the page content, for you to ask, troubleshoot or understand deeper!

You will find this interactive button (shown in the image) in the top right corner of the page.
{% endcolumn %}

{% column width="33.33333333333334%" %}

<figure><img src="/files/30PNeBhrNlALlRaY63QQ" alt="" width="375"><figcaption></figcaption></figure>

{% endcolumn %}
{% endcolumns %}


---

# 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://apidocs.onekeypayments.com/guides/using-llms-with-onekey.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.
