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

# llms.txt & llms-full.txt

> llms.txt 및 llms-full.txt를 사용하여 Cursor, Windsurf, Grok과 같은 AI 도구가 정확한 코드 생성을 위해 X API 문서에 구조화된 액세스를 제공합니다.

**llms.txt** — 모든 문서 페이지(제목, URL, 짧은 설명)의 구조화된 인덱스입니다. AI 도구에 무엇이 사용 가능한지에 대한 맵을 제공합니다.

**llms-full.txt** — 최대 컨텍스트를 위한 단일 Markdown 파일의 전체 문서입니다.

[`llms.txt` 표준](https://llmstxt.org)은 AI를 위한 사이트맵과 같습니다. LLM이 문서 구조를 이해하고 관련 콘텐츠를 찾는 데 도움이 되며, `sitemap.xml`이 검색 엔진에 도움이 되는 것과 유사합니다.

| 파일                                                                                                                                            | 포함 내용                                        | 최적 용도                                    |
| :-------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------- | :--------------------------------------- |
| [`llms.txt`](https://docs.x.com/llms.txt)                                                                                                     | 큐레이션된 루트 인덱스 + 섹션 인덱스로 이동 링크                 | 빠른 개요 및 에이전트 진입점                         |
| [`x-api/llms.txt`](https://docs.x.com/x-api/llms.txt)                                                                                         | 370개 이상의 X API v2 레퍼런스 페이지                   | Posts, Users, DMs, Streams, Compliance 등 |
| [`enterprise-api/llms.txt`](https://docs.x.com/enterprise-api/llms.txt)                                                                       | Enterprise, Account Activity, GNIP, Webhooks | 과거 + 실시간 엔터프라이즈 데이터                      |
| [`x-ads-api/llms.txt`](https://docs.x.com/x-ads-api/llms.txt)                                                                                 | Ads API (캠페인, 크리에이티브, 오디언스, 분석)              | 광고 및 측정                                  |
| [`xdks/python/llms.txt`](https://docs.x.com/xdks/python/llms.txt) + [`xdks/typescript/llms.txt`](https://docs.x.com/xdks/typescript/llms.txt) | 전체 SDK 클라이언트 및 모델 레퍼런스                       | Python 및 TypeScript/JavaScript 개발자       |
| [`llms-full.txt`](https://docs.x.com/llms-full.txt)                                                                                           | 하나의 Markdown 파일로 된 전체 문서                     | 심층 추론을 위한 최대 컨텍스트                        |

이러한 파일(그리고 `/x-api/llms.txt`, `/enterprise-api/llms.txt`, `/x-ads-api/llms.txt` 및 XDK 아래의 섹션별 인덱스)은 루트와 `/.well-known/` 아래에서 사용할 수 있습니다. 모든 문서 페이지는 깔끔한 Markdown을 위한 `.md` 접미사를 지원합니다(예: `https://docs.x.com/x-api/posts/get-post-by-id.md`).

***

## 사용 방법

**에이전트에게 강력히 권장:** 명시적인 사용 지침은 [AGENTS.md](https://docs.x.com/AGENTS.md) (또는 AGENT.md)를 먼저 읽으세요.

대부분의 AI 도구는 URL을 직접 수락합니다. URL만 제공하면 도구가 콘텐츠를 가져와 파싱합니다:

* **Grok**: `https://docs.x.com/llms-full.txt`를 채팅에 붙여넣고 X API에 대해 질문하세요
* **Cursor / Windsurf**: 프로젝트에 대한 문서 컨텍스트로 `https://docs.x.com/llms-full.txt`를 추가하세요
* **커스텀 에이전트**: 프로그래밍 방식으로 파일을 가져와 시스템 프롬프트 또는 컨텍스트 창에 포함하세요

```bash theme={null}
# 문서 인덱스 가져오기
curl https://docs.x.com/llms.txt

# 전체 문서 가져오기
curl https://docs.x.com/llms-full.txt

# 개별 페이지를 Markdown으로 가져오기
curl https://docs.x.com/tools/llms-txt.md
```
