Lists the documents in a knowledge base, optionally filtered by title and status.
Returns the editable authoring documents for a knowledge base. The list includes drafts and archived documents because publish eligibility is controlled per document; pass `status` to narrow to one lifecycle state (for example `status=PUBLISHED` for the documents the next publish will index).
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The knowledge base id.
uuidThe tenant identifier
Query Parameters
The maximum number of items to return per page
int32int32Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.
Optional case-insensitive substring of the document title. Wildcards are matched literally.
Optional lifecycle filter (DRAFT, PUBLISHED, or ARCHIVED). Omit for every status.
"UNSPECIFIED" | "DRAFT" | "PUBLISHED" | "ARCHIVED"Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
"title": "string",
"bodyMarkdown": "string",
"status": "DRAFT",
"locale": "string",
"tags": [
"string"
],
"metadata": {},
"sourceConversationIds": [
"string"
],
"lastReviewedAt": 0,
"lastReviewedBy": "string",
"createdAt": 0,
"modifiedAt": 0
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}