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

# Belge getir

> Kimliğe göre tek bir belge getirin

Bu endpoint, bir bilgi bankası içindeki belirli bir belgenin detaylarını döndürür.

### Yol Parametreleri

<ParamField path="knowledgebaseId" type="integer" required>
  Bilgi bankasının benzersiz tanımlayıcısı
</ParamField>

<ParamField path="documentId" type="integer" required>
  Belgenin benzersiz tanımlayıcısı
</ParamField>

### Yanıt

<ResponseField name="data" type="object">
  Belge nesnesi

  <Expandable title="belge özellikleri">
    <ResponseField name="id" type="integer">
      Belgenin benzersiz tanımlayıcısı
    </ResponseField>

    <ResponseField name="name" type="string">
      Belgenin adı
    </ResponseField>

    <ResponseField name="description" type="string">
      Belgenin isteğe bağlı açıklaması
    </ResponseField>

    <ResponseField name="type" type="string">
      Belge türü: `website`, `pdf`, `txt` veya `docx`
    </ResponseField>

    <ResponseField name="type_label" type="string">
      Okunabilir tür etiketi
    </ResponseField>

    <ResponseField name="status" type="string">
      İşleme durumu: `processing`, `active` veya `failed`
    </ResponseField>

    <ResponseField name="status_label" type="string">
      Okunabilir durum etiketi
    </ResponseField>

    <ResponseField name="created_at" type="string">
      Oluşturulma ISO 8601 zaman damgası
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      Son güncelleme ISO 8601 zaman damgası
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Yanıt theme={null}
  {
    "data": {
      "id": 1,
      "name": "Product Manual",
      "description": "Complete product user manual",
      "type": "pdf",
      "type_label": "PDF",
      "status": "active",
      "status_label": "Active",
      "created_at": "2025-01-05T10:30:00.000000Z",
      "updated_at": "2025-01-05T10:35:00.000000Z"
    }
  }
  ```

  ```json 404 Bilgi Bankası Bulunamadı theme={null}
  {
    "error": "Knowledgebase not found."
  }
  ```

  ```json 404 Belge Bulunamadı theme={null}
  {
    "error": "Document not found."
  }
  ```
</ResponseExample>
