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

# 사이트 상세

> 특정 사이트의 상세 정보를 반환하는 엔드포인트입니다.

## GET /sites/{siteId}

단일 사이트의 상태, 파일 URL, 마지막 생성 옵션 등 상세 정보를 반환합니다.

### 경로 매개변수

<ParamField path="siteId" type="string" required>
  조회할 사이트 ID입니다.
</ParamField>

### 응답

<ResponseField name="id" type="string">
  사이트 고유 식별자입니다.
</ResponseField>

<ResponseField name="url" type="string">
  정규화된 사이트 URL입니다.
</ResponseField>

<ResponseField name="userId" type="string">
  사이트 소유 사용자 ID입니다.
</ResponseField>

<ResponseField name="status" type="string">
  현재 상태: `pending`, `processing`, `completed`, 또는 `failed`입니다.
</ResponseField>

<ResponseField name="fileUrl" type="string">
  생성된 llms.txt 접근 URL입니다.
</ResponseField>

<ResponseField name="fullTextUrl" type="string">
  전체 텍스트 버전 URL입니다(있는 경우).
</ResponseField>

<ResponseField name="lastGenerationOptions" type="object">
  마지막 생성에 사용된 옵션입니다.

  <Expandable title="lastGenerationOptions 속성">
    <ResponseField name="maxUrls" type="number">
      처리한 최대 URL 수입니다.
    </ResponseField>

    <ResponseField name="showFullText" type="boolean">
      전체 텍스트 포함 여부입니다.
    </ResponseField>

    <ResponseField name="generationMethod" type="string">
      사용한 방식: `simple` 또는 `enhanced`입니다.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="createdAt" type="string">
  생성 시각(ISO 8601)입니다.
</ResponseField>

<ResponseField name="updatedAt" type="string">
  마지막 갱신 시각(ISO 8601)입니다.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.llmgenerator.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://api.llmgenerator.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000',
    {
      headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
    }
  );

  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "url": "https://example.com",
    "userId": "user_abc123",
    "status": "completed",
    "fileUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000",
    "fullTextUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000?full=true",
    "lastGenerationOptions": {
      "maxUrls": 50,
      "showFullText": true,
      "generationMethod": "enhanced"
    },
    "createdAt": "2026-01-15T10:00:00.000Z",
    "updatedAt": "2026-01-20T14:30:00.000Z"
  }
  ```

  ```json Not Found (404) theme={null}
  {
    "message": "Site not found"
  }
  ```

  ```json Forbidden (403) theme={null}
  {
    "message": "Access denied to this site"
  }
  ```
</ResponseExample>
