Skip to main content
GET
List Knowledge Base files

Authorizations

Authorization
string
header
required

An Admin API key, starting with cas_admin_.

Scopes

knowledge_base:read

Query Parameters

limit
integer
default:100

Maximum number of records to return.

Required range: 1 <= x <= 1000
cursor
string

The nextCursor from the previous page.

collectionId
string

Only list files in this collection. Use general for General Knowledge.

folderId
string

Only list files in this folder, including its subfolders.

userId
string

Only list files this user added.

types
enum<string>[]

Only list files of these types, as a comma-separated list.

Minimum array length: 1
Available options:
document,
integration,
pdf,
doc,
docx,
pptx,
keynote,
xls,
xlsx,
csv,
code,
otherFile,
meetingTranscript,
webpage,
confluencePage,
googleDriveFile,
boxFile,
sharePointFile,
sharePointList,
sharePointSitePage,
oneDriveFile,
slackChannel,
notionPage,
jiraIssue,
youtubeTranscript,
answerHubArticle,
zendeskArticle,
serviceNowCatalogItem,
serviceNowKnowledgeArticle,
gongCall,
codaPage,
markdown,
mp3,
wav,
mp4,
aac,
flac,
m4v,
m4a,
mov,
png,
webp,
jpeg,
gif

Response

Successful response

nextCursor
string | null
required

Pass as cursor to get the next page. Null on the last page.

files
object[]
required