Skip to main content

Documentation Index

Fetch the complete documentation index at: https://fileguard.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

FileGuard Hero Light

Welcome to FileGuard

FileGuard is a secure, multi-tenant file storage API designed for modern applications. Upload, validate, scan, and manage files with enterprise-grade security.

Quick Start

Get up and running with FileGuard in under 5 minutes

API Reference

Explore the complete API documentation

File Contexts

Learn how to organize files with contexts

Security

Understand FileGuard’s security features

Key Features

Securely isolate files between tenants. Each tenant has their own API keys, file contexts, and storage quotas.
Automatically validate files for:
  • Blank/empty files - Detect PDFs, images, Excel files with no content
  • Corrupt files - Verify file integrity and structure
  • Virus scanning - ClamAV integration for malware detection
Create contexts to define file rules:
  • Allowed file extensions
  • Maximum file size
  • Storage quotas
  • Rate limits
  • Virus scanning toggles
Secure file downloads with time-limited pre-signed S3 URLs. No credentials exposed to end users.
Track every operation with detailed audit logs:
  • Who performed the action
  • What was affected
  • When it happened
  • IP address and user agent

How It Works

Quick Example

# Upload a file
curl -X POST "https://api.fileguard.io/api/v1/files/upload" \
  -H "Authorization: Bearer fg_your_api_key" \
  -F "file=@document.pdf" \
  -F "context=patient_reports"

# Get download URL
curl "https://api.fileguard.io/api/v1/files/file_abc123" \
  -H "Authorization: Bearer fg_your_api_key"

Support

Email Support

Get help from our team

GitHub Issues

Report bugs or request features