cURL
curl --request GET \ --url https://api.example.com/api/file/download/{path} \ --header 'X-Session-API-Key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Download a file using path parameter (legacy, for backwards compatibility).
Deprecated since v1.15.0 and scheduled for removal in v1.20.0.
Prefer /file/download?path=... to avoid path-encoding issues and align with other file endpoints.
/file/download?path=...
Absolute file path.
Successful Response
Was this page helpful?