v4
latestOpenAPI 3.1.02026-07-313621,3961.8 MBGet Knowledge Base List
Get a list of available knowledge base documents
Query parameters
How many documents to return at maximum. Can not exceed 100, defaults to 30.
How many documents to return at maximum. Can not exceed 100, defaults to 30.
If specified, the endpoint returns only such knowledge base documents whose names start with this string.
If specified, the endpoint returns only such knowledge base documents whose names start with this string.
If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead.
If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead.
Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user.
Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user.
If present, the endpoint will return only documents of the given types.
If present, the endpoint will return only documents of the given types.
If set, the endpoint will return only documents that are direct children of the given folder.
If set, the endpoint will return only documents that are direct children of the given folder.
If set, the endpoint will return only documents that are descendants of the given folder.
If set, the endpoint will return only documents that are descendants of the given folder.
Whether folders should be returned first in the list of documents.
Whether folders should be returned first in the list of documents.
The direction to sort the results
The field to sort the results by
Used for fetching next page. Cursor is returned in the response.
Used for fetching next page. Cursor is returned in the response.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"documents": [
{
"access_info": {
"access_source": "creator",
"creator_email": "john.doe@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
}
}
]
}