Dokumentation
ReferenzUploads

List the file types Galilea accepts.

GET
/supported-file-types

The media types and file extensions an upload may carry, as the processing pipeline answers them today. A tool checks here before it spends hours preparing files that would be rejected after the upload; an integration syncing a source uses the list to skip what cannot be processed.

The list changes only with a deployment of the pipeline and may be cached for a day. It names what can be parsed at all, not what a given directory or role permits; the one limit the list cannot express is a scanned PDF without a text layer, which the cheapest processing level refuses after the upload.

Requires nothing beyond a valid key.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Response Body

The accepted file types.

application/json
  1. response

What an upload may carry, as GET /supported-file-types answers it. mediaTypes and extensions describe the same set from two sides, because some formats have no registered media type and are recognised by their extension alone, Galilea Packages among them.

mediaTypes*array<string>

Media types accepted for upload.

extensions*array<string>

File extensions accepted for upload, lower case with the leading dot.

curl -X GET "https://example.com/supported-file-types"
{  "mediaTypes": [    "application/pdf",    "application/vnd.openxmlformats-officedocument.wordprocessingml.document",    "application/vnd.openxmlformats-officedocument.presentationml.presentation",    "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",    "text/markdown",    "text/plain"  ],  "extensions": [    ".pdf",    ".docx",    ".pptx",    ".xlsx",    ".md",    ".txt",    ".gpack"  ]}