Files

Store an original file in the authenticated tenant

Authenticated tenant and current Workbench mapping/clearance required. Gateway credentials delegate no independent privileges. No file contents are logged.

post/v1/files

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/v1/files
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

namestring required
contentBase64string byte required
mimeType'application/pdf' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'text/csv' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'text/plain' | 'application/edifact' | 'application/edifact' | 'message/rfc822'
sensitivityLevel'public' | 'tenant_internal' | 'restricted' | 'highly_sensitive'
openWebuiOrgIdstring
tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Response

Store an original file in the authenticated tenant

fileIdstring required
hashstring required
namestring required
mimeType'application/pdf' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'text/csv' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'text/plain' | 'application/edifact' | 'application/edifact' | 'message/rfc822' required
sizeinteger required
duplicateboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.