Drafts

下書きの一覧

作成の新しい順。state の既定は open(未処理)。next_cursor が null でなければ、cursor に入れて次のページを取る

get/knowledge/drafts

Request

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

Query parameters

state'open' | 'published' | 'discarded'
target_document_idstring
cursorstring

前の応答の next_cursor

limitinteger

Response

下書きの 1 ページ

next_cursorstring nullable required

Example response

{
  "drafts": [
    {
      "created_at": "2026-09-29T02:31:07.000Z",
      "decided_at": "2026-09-29T02:31:07.000Z"
    }
  ]
}

Changes

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