import requestsdocument_id = "d12345678" # ID of the documenturl = f"https://vedaya-backend.fly.dev/api/vector-indexing/documents/{document_id}/download"headers = { 'Authorization': 'Bearer YOUR_API_KEY'}response = requests.get(url, headers=headers)# Save the filewith open("downloaded_document.pdf", "wb") as file: file.write(response.content)