Download the files that are part of a case. The response format is determined by the Accept header:
multipart/mixed— returns all files as a multipart response, where each part contains the binary content of a file with its ownContent-TypeandContent-Dispositionheaders. This allows the client to iterate over the parts and attach each file individually to a workflow without any unzipping.application/zip— returns all files packaged as a ZIP archive. Each file is stored under its original filename as provided during upload. Use this if your HTTP client does not support multipart response parsing.
The files returned can be filtered by their mainFile flag or by their type using the query parameters below. If no filters are provided, all files of the case are returned.
- API EUhttps://api.cloud.hypatos.ai/v2/cases/{id}/files
- API UShttps://api.cloud.hypatos.com/v2/cases/{id}/files
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/cases/{id}/files
curl -i -X GET \
'https://api.cloud.hypatos.ai/v2/cases/{id}/files?mainFile=true&type=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Files of the case.
A multipart response where each part corresponds to one file of the case. Each part contains the binary content of the file and the following headers:
Content-Type: the media type of the file (e.g.application/pdf,image/jpeg)Content-Disposition: contains the filename of the fileX-Hy-File-Id: the identifier of the fileX-Hy-File-Type: the type of the file as defined in the caseX-Hy-File-Main:trueif this is the main file of the case,falseotherwise
--boundary-separator
Content-Type: application/json
{}
--boundary-separator
Content-Type: application/json
{}
--boundary-separator
Content-Type: application/json
{}
--boundary-separator--