> **Source:** https://knowledge.leegality.com/ai-readable > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # A Guide for LLMs and AI This knowledge base is built on a JavaScript framework — fetching a page URL returns an empty HTML shell, not readable content. To make it fully accessible to AI tools and crawlers, every page is also published as a plain `.txt` file containing clean markdown. Base URL: `https://knowledge.leegality.com` ### Available Resources | Resource | Full URL | Notes | |----------|----------|-------| | **Page index** | [`https://knowledge.leegality.com/llms.txt`](https://knowledge.leegality.com/llms.txt) | Index of all pages. Each line: `[Title](url.txt): description`. Start here. | | **Full content** | [`https://knowledge.leegality.com/llms-full.txt`](https://knowledge.leegality.com/llms-full.txt) | All pages concatenated. Fetch once to load the entire knowledge base into context. | | **Per-page content** | `https://knowledge.leegality.com/.txt` | Append `.txt` to any page URL. Example: [`/document-execution/api/create-an-e-signing-request.txt`](https://knowledge.leegality.com/document-execution/api/create-an-e-signing-request.txt) | | **OpenAPI spec** | [`https://knowledge.leegality.com/openapi.json`](https://knowledge.leegality.com/openapi.json) | OpenAPI 3.0 spec for the full REST API. | --- ### How AI should read this knowledge base 1. Fetch `https://knowledge.leegality.com/llms.txt` — this gives you a structured index of every page with titles, `.txt` links, and descriptions. 2. From the index, fetch individual `.txt` URLs for the pages you need. Each `.txt` file is the full page content as plain markdown, served as `text/plain`. 3. For API integration, fetch `https://knowledge.leegality.com/openapi.json` for the complete OpenAPI 3.0 spec. 4. To load everything at once, fetch `https://knowledge.leegality.com/llms-full.txt` instead of steps 1–2. > **Why `.txt` and not `.md`?** Both exist, but `.md` files are served as binary downloads (`application/octet-stream`) — browsers and AI tools can't read them inline. `.txt` files are served as `text/plain` and are readable directly. --- ### How to use it **With Claude, ChatGPT, or any LLM:** Paste a `.txt` URL directly into your conversation. Example: ``` https://knowledge.leegality.com/document-execution/api/create-an-e-signing-request.txt ``` **With Cursor:** Use `@Docs` → add `https://knowledge.leegality.com/llms.txt`. Cursor will index all pages and make them available as context. **With any HTTP client:** ```bash # Get the full knowledge base in one request curl https://knowledge.leegality.com/llms-full.txt # Get a specific page curl https://knowledge.leegality.com/document-execution/getting-started/create-an-account.txt ``` --- ### On every page Each doc page has a **Copy page** button in the top-right corner. It copies that page's markdown directly to your clipboard — ready to paste into any AI tool. The dropdown also has **View markdown** (opens the `.txt` in browser) and **Download markdown** (saves the `.md` file locally).