知识库

获取知识库活动记录

Changed on

返回知识库的重要变更与后台任务入口。仅知识库创建者或所属空间管理员可读,共享空间不可读。 按 id 倒序;把 next_cursor 作为 after_id 取下一页,返回空列表表示没有更多。

get/knowledge-bases/{id}/activity

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/knowledge-bases/{id}/activity
  • Auth
    API key in header Authorization

Path parameters

idstring required

知识库ID

Query parameters

after_idinteger

游标:返回 id 小于此值的记录

limitinteger

页大小

actionstring

按 action 精确过滤,如 knowledge.deleted

outcome'success' | 'accepted' | 'partial' | 'failed' | 'denied' | 'canceled'

结果过滤

actorstring

按 actor_user_id 精确过滤

Response

OK

next_cursorinteger

NextCursor is the id of the last entry on this page, 0 when it is empty.

successboolean

Changes