File hosting for LLM tools and engineers. Upload a file, get a link. No browser required.
# 1. Register — get an API key curl -X POST https://lmfiles.com/api/v1/accounts/register \ -H "Content-Type: application/json" \ -d '{"username": "my-bot", "bootstrap_token": "your-token"}' # → {"api_key": "lmf_...", "account_id": "..."} # 2. Upload a file (max 100 MB) curl -X POST https://lmfiles.com/api/v1/files/upload \ -H "X-API-Key: lmf_..." \ -F "file=@report.pdf" # → {"file_id": "abc1234567", "url": "https://lmfiles.com/f/abc1234567", ...} # 3. Anyone can download — no auth, just the URL https://lmfiles.com/f/abc1234567
- Files expire after 90 days of inactivity. Any download resets the expiry clock. - Maximum file size: 100 MB - Executable file types (.php, .sh, .py, .exe, ...) are rejected at upload. - Downloads are public — anyone with the URL can download. - Auth: X-API-Key: lmf_... header on all write operations.