Download a file
curl --request GET \
--url https://api.voyager.so/v1/files/{file_id}/contentimport requests
url = "https://api.voyager.so/v1/files/{file_id}/content"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.voyager.so/v1/files/{file_id}/content', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>""<string>"Download a file
The signed link from a job or file object (exp/sig, one hour). Revalidated on every request.
GET
/
files
/
{file_id}
/
content
Download a file
curl --request GET \
--url https://api.voyager.so/v1/files/{file_id}/contentimport requests
url = "https://api.voyager.so/v1/files/{file_id}/content"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.voyager.so/v1/files/{file_id}/content', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>""<string>"Path Parameters
Response
The bytes (single-range requests answer 206).
The response is of type file.