Skip to main content
GET
List the file formats a knowledge base can ingest

Query Parameters

mime_type
string

Declared type of one file to check. Parameters (; charset=...) are ignored.

Maximum string length: 256
filename
string

Name of that file. Its extension types the file when mime_type is missing or octet-stream (application/ or binary/); an extension nothing here parses resolves to application/octet-stream, which is not ingestible.

Maximum string length: 512

Response

200 - application/json

Supported formats.

object
enum<string>
Available options:
list
data
object[]
mime_types
string[]
extensions
string[]
extension_mime_types
object

Each extension mapped to its canonical mime type.

Example:
resolved_mime
string

Only with mime_type or filename. The type the ingestion check applies - the declared one, or the extension's when the declared one is missing or octet-stream (application/ or binary/). Empty when the file has neither a type nor an extension (such a file is ingestible).

Example:

"message/rfc822"

ingestible
boolean

Only with mime_type or filename. False when the ingestion check would refuse the file (UNSUPPORTED_FILE_TYPE).