Documents

文書の一覧

作成の新しい順。next_cursor が null でなければ、cursor に入れて次のページを取る

get/knowledge/documents

Request

  • Base URL: https://api.leafchat.app/api/v1
  • URL: https://api.leafchat.app/api/v1/knowledge/documents
  • Auth: HTTP bearer

Query parameters

source_idstring
folder_idstring
external_idstring

source_id と一緒のときだけ指定できる

status'processing' | 'pending' | 'ready' | 'error'
cursorstring

前の応答の next_cursor

limitinteger

Response

文書の 1 ページ

next_cursorstring nullable required

Example response

{
  "documents": [
    {
      "current_revision": {
        "created_at": "2026-09-29T02:31:07.000Z"
      },
      "head_revision": {
        "created_at": "2026-09-29T02:31:07.000Z"
      },
      "created_at": "2026-09-29T02:31:07.000Z",
      "updated_at": "2026-09-29T02:31:07.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.