# File upload config Get supported file types, size limits, and chunk configuration. No authentication required. Returns the file upload configuration including the maximum direct upload size, chunked upload chunk size, supported file types with their size limits, and categories of unsupported file types. This is a public endpoint that does not require authentication. ## Returns The file upload configuration object with supported and unsupported file categories. Request ```bash cURL curl -s "https://api.aitronos.com/v1/files/config" | python3 -m json.tool ``` ```python Python SDK from aitronos import Aitronos client = Aitronos(api_key="your-api-key") result = client.knowledge.get_file_config() print(result) ``` ```python Python import requests url = "https://api.aitronos.com/v1/files/config" response = requests.get(url) print(response.json()) ``` ```javascript JavaScript const response = await fetch("https://api.aitronos.com/v1/files/config"); const data = await response.json(); console.log(data); ``` Response ```json 200 OK { "direct_upload_max_bytes": 32505856, "chunked_upload_chunk_bytes": 8388608, "supported_types": { "documents": { "extensions": ["pdf", "docx", "doc", "odt", "rtf", "pages"], "max_bytes": 52428800, "description": "Documents" }, "spreadsheets": { "extensions": ["xlsx", "xls", "csv", "tsv", "ods", "numbers"], "max_bytes": 52428800, "description": "Spreadsheets" }, "presentations": { "extensions": ["pptx", "ppt", "key", "odp"], "max_bytes": 52428800, "description": "Presentations" }, "text": { "extensions": ["txt", "md", "json", "xml", "yaml", "html", "htm", "log", "cfg", "ini"], "max_bytes": 52428800, "description": "Plain text & config files" }, "code": { "extensions": ["py", "js", "ts", "java", "go", "rs", "c", "cpp", "rb", "php", "sh", "sql", "swift", "kt", "r", "m", "h", "css", "scss", "less"], "max_bytes": 52428800, "description": "Source code" }, "images": { "extensions": ["png", "jpg", "jpeg", "gif", "webp", "svg", "bmp", "tiff"], "max_bytes": 15728640, "description": "Images (processed via OCR)" }, "email": { "extensions": ["eml", "msg"], "max_bytes": 52428800, "description": "Email messages" }, "archives": { "extensions": ["zip", "tar", "gz", "rar", "7z"], "max_bytes": 104857600, "description": "Archives" }, "ebooks": { "extensions": ["epub", "mobi", "azw3"], "max_bytes": 104857600, "description": "E-books" } }, "unsupported_categories": [ { "category": "audio", "extensions": ["mp3", "wav", "m4a", "ogg", "flac"], "reason": "Speech-to-text not yet available" }, { "category": "video", "extensions": ["mp4", "mov", "avi", "mkv", "webm"], "reason": "Speech-to-text not yet available" }, { "category": "design", "extensions": ["fig", "sketch", "ai", "psd"], "reason": "No text extraction available" }, { "category": "binary", "extensions": ["exe", "dll", "bin", "so", "dylib"], "reason": "Binary files cannot be embedded" } ] } ``` ## Related Resources - [Upload File](/docs/api-reference/knowledge/upload-file) - [Get Upload URL](/docs/api-reference/knowledge/upload-url) - [Register Upload](/docs/api-reference/knowledge/register-upload) - [List Files](/docs/api-reference/knowledge/list-files) - [Get File](/docs/api-reference/knowledge/get-file) - [Delete File](/docs/api-reference/knowledge/delete-file) - [Bulk Remove Files](/docs/api-reference/knowledge/bulk-remove) - [Processing Status](/docs/api-reference/knowledge/processing-status) - [Processing Logs](/docs/api-reference/knowledge/processing-logs) - [Retry Processing](/docs/api-reference/knowledge/retry-processing) - [Storage Usage](/docs/api-reference/knowledge/storage-usage)