files

Download file content

Download the raw binary content of a file. The response includes an appropriate Content-Type header detected via libmagic and a Content-Disposition: attachment header with the original filename.

get/v1/files/{file_id}/content

Path parameters

file_idstring required

Query parameters

scope_idstring required

Session / container identifier.

namespacestring

Namespace the file belongs to. Defaults to 'session'.

dispositionstring

Content-Disposition mode for the response: attachment (default, browser download) or inline (open in browser / preview). Corresponds to RFC 6266.

Response

Raw file bytes with MIME-typed content.

{"stackTrail":"paths:/v1/files/{file_id}/content:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","description":"Any type"}

Changes