Documents
文書の取得
反映の状態は current_revision(公開中の版)と head_revision(最新の版)で確かめる。書き込みの応答の revision_id が current_revision.id になれば公開されている
get/knowledge/documents/{document_id}
Request
- Base URL: https://api.leafchat.app/api/v1
- URL: https://api.leafchat.app/api/v1/knowledge/documents/{document_id}
- Auth: HTTP bearer
Path parameters
document_idstring required
Example:p3l8n1b6v9c2x5z7m0q4w8e1
Response
文書
Example response
{
"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.