GET GET /files/{file_id}

Download the original file or derived assets via the download_url in the response.

cURL

curl https://api.algorythmos.fr/files/file_123 \
 -H "x-api-key: $ALG_KEY"

JavaScript

const res = await fetch('https://api.algorythmos.fr/files/file_123', {
  headers: { 'x-api-key': process.env.ALG_KEY }
})
const file = await res.json()

Python

import requests, os
file_info = requests.get(
  'https://api.algorythmos.fr/files/file_123',
  headers={'x-api-key': os.environ['ALG_KEY']}
)
print(file_info.json())