
Deploy Magika
An AI powered file type detection tool
magika
nxfi777/magika-railway:latest
Just deployed
Instructions
- Deploy and copy the endpoint URL.
- Add a
Bearer Tokenheader with the generatedAUTH_TOKENservice variable POSTeither:
- A file as raw bytes to the
/identify_bytesslug - A URL to the
/identify_from_urlslug with format:
{"url":"file url here"}
Additional Information
-
It is recommended to only rely on the
ct_labelvalue for the file type. More information here -
Add a custom domain routed through Cloudflare
Template Content

