Knowledge base
Get supported file types
Returns a list of all supported file types and MIME types for knowledge base entries. This endpoint provides information about which file formats can be uploaded to the knowledge base, organized by media type (documents, images, audio, video, etc.). Each file type includes the supported MIME types, file extensions, and support level (production or preview). This information can be used by client applications to validate file uploads and provide appropriate user interface elements.
get/v1/knowledge-base/file-types
Request
- Base URL: https://api.sensay.io
- URL: https://api.sensay.io/v1/knowledge-base/file-types
- Auth: one of:
- API key in header X-ORGANIZATION-SECRET
- API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE
Headers
X-API-Versionstring
Example:2025-03-25
Response
Supported file types returned successfully.
Example response
{
"success": true,
"mediaGroups": [
{
"label": "PDF Documents",
"mediaType": "document",
"limitation": "Maximum duration: 90 minutes",
"fileTypes": [
{
"mimeTypes": [
"application/pdf"
],
"extensions": [
".pdf",
".pdfa"
],
"supportLevel": "production"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.